summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/libsignal
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/go.mau.fi/libsignal')
-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