From c0e615133ceee47c0d1c42139e267f3a54e84b2b Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Mon, 10 Feb 2025 19:01:30 +0200 Subject: Renamed instances of "trusteds" to "trusted users" to be grammatically correct --- internal/packet/packet.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'internal/packet/packet.go') diff --git a/internal/packet/packet.go b/internal/packet/packet.go index c8a8e64..e94086b 100644 --- a/internal/packet/packet.go +++ b/internal/packet/packet.go @@ -83,6 +83,9 @@ const ( PacketSetLastReadMessages PacketNotificationsInfo + PacketBlockUser + PacketBlockInfo + PacketMax ) @@ -253,6 +256,11 @@ func (p Packet) DecodedPayload() (Payload, error) { case PacketNotificationsInfo: payload = &NotificationsInfo{} + case PacketBlockUser: + payload = &BlockUser{} + case PacketBlockInfo: + payload = &BlockInfo{} + default: assert.Never("unexpected packet.PacketType", "type", p.Type()) } -- cgit v1.3.1