Stringify incoming group ids
Otherwise when we try to make their local storage keys they look like: "egroupByteBuffer(offset=4,markedOffset=-1,length=28,capacity=112)"
This commit is contained in:
parent
13c06a26f9
commit
bbe57ef0bf
1 changed files with 1 additions and 0 deletions
|
@ -646,6 +646,7 @@ window.textsecure.subscribeToPush = function(message_callback) {
|
|||
var promises = [];
|
||||
|
||||
if (decrypted.group !== null) {
|
||||
decrypted.group.id = getString(decrypted.group.id);
|
||||
var existingGroup = textsecure.storage.groups.getNumbers(decrypted.group.id);
|
||||
if (existingGroup === undefined) {
|
||||
if (decrypted.group.type != textsecure.protos.PushMessageContentProtobuf.GroupContext.Type.UPDATE)
|
||||
|
|
Loading…
Reference in a new issue