Add support for expiration timer updates messages
This commit is contained in:
parent
e809a0cf8b
commit
7331d967d2
1 changed files with 4 additions and 0 deletions
|
@ -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'));
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue