mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Add support for expiration timer updates messages
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
var flag = textsecure.protobuf.DataMessage.Flags.END_SESSION;
|
||||
return !!(this.get('flags') & flag);
|
||||
},
|
||||
isExpirationTimerUpdate: function() {
|
||||
var flag = textsecure.protobuf.DataMessage.Flags.EXPIRATION_TIMER_UPDATE;
|
||||
return !!(this.get('flags') & flag);
|
||||
},
|
||||
isGroupUpdate: function() {
|
||||
return !!(this.get('group_update'));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user