From f0607f16633d266f55a4b08f7edbbc13d08121ae Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 4 Feb 2025 19:37:06 +0200 Subject: Server now also sends the last_read column to the client so the client so the client can use it to persist notifications --- internal/packet/types.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/packet') 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 { -- cgit v1.3.1