diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-02-10 19:01:30 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-02-10 19:01:30 +0200 |
| commit | c0e615133ceee47c0d1c42139e267f3a54e84b2b (patch) | |
| tree | 01bf277f7d914f21c6087ffc43417c1c90d1ea1f /internal/packet/packet.go | |
| parent | 6c54b5fe62d56eca0deca1fa4c660d0f16df1aa6 (diff) | |
Renamed instances of "trusteds" to "trusted users" to be grammatically
correct
Diffstat (limited to 'internal/packet/packet.go')
| -rw-r--r-- | internal/packet/packet.go | 8 |
1 files changed, 8 insertions, 0 deletions
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()) } |
