mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Add field for read room ID in badge count push notification
This commit is contained in:
parent
076b4c63a2
commit
3c98e87a95
1 changed files with 3 additions and 2 deletions
|
|
@ -125,8 +125,9 @@ type PushNotification struct {
|
|||
Content json.RawMessage `json:"content,omitempty"`
|
||||
UserIsTarget bool `json:"user_is_target,omitempty"`
|
||||
|
||||
BeeperTTL *int `json:"com.beeper.ttl,omitempty"`
|
||||
BeeperUserID id.UserID `json:"com.beeper.user_id,omitempty"`
|
||||
BeeperTTL *int `json:"com.beeper.ttl,omitempty"`
|
||||
BeeperUserID id.UserID `json:"com.beeper.user_id,omitempty"`
|
||||
BeeperLastFullyReadRoomID id.RoomID `json:"com.beeper.last_fully_read_room_id,omitempty"`
|
||||
}
|
||||
|
||||
func (pk *PushKey) Push(ctx context.Context, data *PushNotification) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue