File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,12 @@ func (slr SyncLeftRoom) MarshalJSON() ([]byte, error) {
309
309
return marshalAndDeleteEmpty ((marshalableSyncLeftRoom )(slr ), syncLeftRoomPathsToDelete )
310
310
}
311
311
312
+ type BeeperInboxPreviewEvent struct {
313
+ EventID id.EventID `json:"event_id"`
314
+ Timestamp jsontime.UnixMilli `json:"origin_server_ts"`
315
+ Event * event.Event `json:"event,omitempty"`
316
+ }
317
+
312
318
type SyncJoinedRoom struct {
313
319
Summary LazyLoadSummary `json:"summary"`
314
320
State SyncEventsList `json:"state"`
@@ -319,6 +325,8 @@ type SyncJoinedRoom struct {
319
325
UnreadNotifications * UnreadNotificationCounts `json:"unread_notifications,omitempty"`
320
326
// https://github.com/matrix-org/matrix-spec-proposals/pull/2654
321
327
MSC2654UnreadCount * int `json:"org.matrix.msc2654.unread_count,omitempty"`
328
+ // Beeper extension
329
+ BeeperInboxPreview * BeeperInboxPreviewEvent `json:"com.beeper.inbox.preview,omitempty"`
322
330
}
323
331
324
332
type UnreadNotificationCounts struct {
You can’t perform that action at this time.
0 commit comments