mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/networkinterface: add native flag for push config
This commit is contained in:
parent
039f7335e4
commit
4bc4bc0046
1 changed files with 4 additions and 3 deletions
|
|
@ -808,9 +808,10 @@ type APNsPushConfig struct {
|
|||
}
|
||||
|
||||
type PushConfig struct {
|
||||
Web *WebPushConfig `json:"web,omitempty"`
|
||||
FCM *FCMPushConfig `json:"fcm,omitempty"`
|
||||
APNs *APNsPushConfig `json:"apns,omitempty"`
|
||||
Web *WebPushConfig `json:"web,omitempty"`
|
||||
FCM *FCMPushConfig `json:"fcm,omitempty"`
|
||||
APNs *APNsPushConfig `json:"apns,omitempty"`
|
||||
Native bool `json:"native,omitempty"`
|
||||
}
|
||||
|
||||
type PushableNetworkAPI interface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue