Group ids should be strings (or stringables)
ArrayBuffer was a bad choice.
This commit is contained in:
parent
6db3eeb52e
commit
7e9c0e2394
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ window.textsecure.storage = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
while (groupId === undefined || textsecure.storage.getEncrypted("group" + groupId) !== undefined) {
|
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];
|
var me = textsecure.utils.unencodeNumber(textsecure.storage.getUnencrypted("number_id"))[0];
|
||||||
|
|
Loading…
Add table
Reference in a new issue