mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 20:45:17 +00:00
e7e5bc0884
If PreKeyEntity identity key doesn't match local DB, fail outgoing message and queue "incoming" identity key update message for manual user approval.
19 lines
458 B
Java
19 lines
458 B
Java
package org.thoughtcrime.securesms.sms;
|
|
|
|
public class IncomingPreKeyBundleMessage extends IncomingKeyExchangeMessage {
|
|
|
|
public IncomingPreKeyBundleMessage(IncomingTextMessage base, String newBody) {
|
|
super(base, newBody);
|
|
}
|
|
|
|
@Override
|
|
public IncomingPreKeyBundleMessage withMessageBody(String messageBody) {
|
|
return new IncomingPreKeyBundleMessage(this, messageBody);
|
|
}
|
|
|
|
@Override
|
|
public boolean isPreKeyBundle() {
|
|
return true;
|
|
}
|
|
}
|