diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-02-04 18:52:57 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-02-04 18:52:57 +0200 |
| commit | eab8cba4bb37491d5c3b497b98faa7029e7b7300 (patch) | |
| tree | 15f9994c423d18f0492f97c43bf71a0793e1e6a4 /internal/packet/packet.go | |
| parent | 42a1ee12c1e64955e6ddd38c34b122c7c10a93f2 (diff) | |
Refactored the way notifications work on the server-side, next commit
fixes the client to use this new system
Diffstat (limited to 'internal/packet/packet.go')
| -rw-r--r-- | internal/packet/packet.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/packet/packet.go b/internal/packet/packet.go index 72ff4b9..c8a8e64 100644 --- a/internal/packet/packet.go +++ b/internal/packet/packet.go @@ -80,7 +80,7 @@ const ( PacketTrustUser PacketTrustInfo - PacketGetNotifications + PacketSetLastReadMessages PacketNotificationsInfo PacketMax @@ -248,8 +248,8 @@ func (p Packet) DecodedPayload() (Payload, error) { case PacketTrustInfo: payload = &TrustInfo{} - case PacketGetNotifications: - payload = &GetNotifications{} + case PacketSetLastReadMessages: + payload = &SetLastReadMessages{} case PacketNotificationsInfo: payload = &NotificationsInfo{} |
