From aefa70891cfd489fccb8a9567b5bdafb0f863ede Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Mar 2022 23:02:04 +0100 Subject: Update vendor (whatsapp) --- vendor/go.mau.fi/whatsmeow/binary/token/token.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/go.mau.fi/whatsmeow/binary/token') diff --git a/vendor/go.mau.fi/whatsmeow/binary/token/token.go b/vendor/go.mau.fi/whatsmeow/binary/token/token.go index bea1d8d4..3a8ee5a4 100644 --- a/vendor/go.mau.fi/whatsmeow/binary/token/token.go +++ b/vendor/go.mau.fi/whatsmeow/binary/token/token.go @@ -15,6 +15,10 @@ var ( } ) +// DictVersion is the version number of the token lists above. +// It's sent when connecting to the websocket so the server knows which tokens are supported. +const DictVersion = 2 + type doubleByteTokenIndex struct { dictionary byte index byte -- cgit v1.2.3