summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/libsignal/session/Session.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-08-13 16:14:26 +0200
committerGitHub <noreply@github.com>2022-08-13 16:14:26 +0200
commit6a3fc713978a0c1c9290a4afd08b47886b49b635 (patch)
treeaa62cd85cf5671646c75ee38b3fc140ef7edcea8 /vendor/go.mau.fi/libsignal/session/Session.go
parent3c4192ebf6a32e30cdd23a9644c2ceca72a006fa (diff)
downloadmatterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.gz
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.bz2
matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.zip
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18
Diffstat (limited to 'vendor/go.mau.fi/libsignal/session/Session.go')
-rw-r--r--vendor/go.mau.fi/libsignal/session/Session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/go.mau.fi/libsignal/session/Session.go b/vendor/go.mau.fi/libsignal/session/Session.go
index aafac760..88e4276f 100644
--- a/vendor/go.mau.fi/libsignal/session/Session.go
+++ b/vendor/go.mau.fi/libsignal/session/Session.go
@@ -166,7 +166,7 @@ func (b *Builder) processV3(sessionRecord *record.Session,
if message.PreKeyID() != nil && message.PreKeyID().Value != medium.MaxValue {
return message.PreKeyID(), nil
}
- return nil, nil
+ return optional.NewEmptyUint32(), nil
}
// ProcessBundle builds a new session from a PreKeyBundle retrieved