Ignore END_SESSION on messages with a sync context
This commit is contained in:
@@ -62,7 +62,8 @@
|
||||
var finalMessage = textsecure.protobuf.PushMessageContent.decode(res[0]);
|
||||
|
||||
if ((finalMessage.flags & textsecure.protobuf.PushMessageContent.Flags.END_SESSION)
|
||||
== textsecure.protobuf.PushMessageContent.Flags.END_SESSION)
|
||||
== textsecure.protobuf.PushMessageContent.Flags.END_SESSION &&
|
||||
finalMessage.sync !== null)
|
||||
res[1]();
|
||||
|
||||
return finalMessage;
|
||||
|
Reference in New Issue
Block a user