remove SESSION_REQUEST flag from DataMessage. now in envelope
This commit is contained in:
parent
847db5b43a
commit
f3ae798b12
|
@ -142,7 +142,6 @@ message DataMessage {
|
|||
PROFILE_KEY_UPDATE = 4;
|
||||
SESSION_RESTORE = 64;
|
||||
UNPAIRING_REQUEST = 128;
|
||||
SESSION_REQUEST = 256;
|
||||
}
|
||||
|
||||
message Quote {
|
||||
|
|
|
@ -344,8 +344,6 @@ export function processDecrypted(envelope: EnvelopePlus, decrypted: any) {
|
|||
} else if (decrypted.flags & FLAGS.PROFILE_KEY_UPDATE) {
|
||||
decrypted.body = '';
|
||||
decrypted.attachments = [];
|
||||
} else if (decrypted.flags & FLAGS.SESSION_REQUEST) {
|
||||
// do nothing
|
||||
} else if (decrypted.flags & FLAGS.SESSION_RESTORE) {
|
||||
// do nothing
|
||||
} else if (decrypted.flags & FLAGS.UNPAIRING_REQUEST) {
|
||||
|
@ -569,7 +567,6 @@ export async function handleMessageEvent(event: any): Promise<void> {
|
|||
|
||||
const {
|
||||
PROFILE_KEY_UPDATE,
|
||||
SESSION_REQUEST,
|
||||
SESSION_RESTORE,
|
||||
} = SignalService.DataMessage.Flags;
|
||||
|
||||
|
|
Loading…
Reference in New Issue