summaryrefslogtreecommitdiff
path: root/internal/packet/types.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-02-04 19:37:06 +0200
committerKyren223 <Kyren223@proton.me>2025-02-04 19:37:06 +0200
commitf0607f16633d266f55a4b08f7edbbc13d08121ae (patch)
tree168d1e6c46ada637bba76c6a4bd5735af1a4e02a /internal/packet/types.go
parent752403fd523f287020dfcc6cdd3bf6d304365672 (diff)
Server now also sends the last_read column to the client so the client
so the client can use it to persist notifications
Diffstat (limited to 'internal/packet/types.go')
-rw-r--r--internal/packet/types.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/packet/types.go b/internal/packet/types.go
index bb2b013..67759e7 100644
--- a/internal/packet/types.go
+++ b/internal/packet/types.go
@@ -244,8 +244,9 @@ func (m *SetLastReadMessages) Type() PacketType {
}
type NotificationsInfo struct {
- Source []snowflake.ID
- Pings []*int64
+ Source []snowflake.ID
+ LastRead []int64
+ Pings []*int64
}
func (m *NotificationsInfo) Type() PacketType {