summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/whatsmeow/binary/token/token.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-12 23:02:04 +0100
committerWim <wim@42.be>2022-03-20 14:57:48 +0100
commitaefa70891cfd489fccb8a9567b5bdafb0f863ede (patch)
tree90fe7c91d7b33b2a1ed08ea3a94840860adc6fc1 /vendor/go.mau.fi/whatsmeow/binary/token/token.go
parent1b9877fda45be021ea6a5677c78648cecc19dcd5 (diff)
downloadmatterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.tar.gz
matterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.tar.bz2
matterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.zip
Update vendor (whatsapp)
Diffstat (limited to 'vendor/go.mau.fi/whatsmeow/binary/token/token.go')
-rw-r--r--vendor/go.mau.fi/whatsmeow/binary/token/token.go4
1 files changed, 4 insertions, 0 deletions
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