diff --git a/js/helpers.js b/js/helpers.js index 27cbd4209..ae12ce417 100644 --- a/js/helpers.js +++ b/js/helpers.js @@ -423,7 +423,7 @@ window.textsecure.storage = function() { } while (groupId === undefined || textsecure.storage.getEncrypted("group" + groupId) !== undefined) { - groupId = textsecure.crypto.getRandomBytes(16); + groupId = getString(textsecure.crypto.getRandomBytes(16)); } var me = textsecure.utils.unencodeNumber(textsecure.storage.getUnencrypted("number_id"))[0];