From bbe57ef0bfa1f496087585e436c4da314aa44fb5 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 16 Oct 2014 17:39:44 -0700 Subject: [PATCH] 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)" --- js/helpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/helpers.js b/js/helpers.js index ae12ce41..d4ac4d9f 100644 --- a/js/helpers.js +++ b/js/helpers.js @@ -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)