mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-10 09:02:05 +02:00
Don't ignore invalid preKeyIds just because preKey is null
This commit is contained in:
@@ -30,8 +30,6 @@ public class PreKeyBundle {
|
||||
long preKeyPublicHandle = 0;
|
||||
if(preKeyPublic != null) {
|
||||
preKeyPublicHandle = preKeyPublic.nativeHandle();
|
||||
} else {
|
||||
preKeyId = -1;
|
||||
}
|
||||
|
||||
this.handle = Native.PreKeyBundle_New(registrationId, deviceId, preKeyId,
|
||||
|
||||
Reference in New Issue
Block a user