Store group ids as strings
This commit is contained in:
parent
8288e298fc
commit
0036e4ef74
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ var Whisper = Whisper || {};
|
||||||
};
|
};
|
||||||
var thread = this.findOrCreate(attributes);
|
var thread = this.findOrCreate(attributes);
|
||||||
return textsecure.messaging.createGroup(recipients, name).then(function(groupId) {
|
return textsecure.messaging.createGroup(recipients, name).then(function(groupId) {
|
||||||
thread.set('groupId', groupId);
|
thread.set('groupId', getString(groupId));
|
||||||
thread.save();
|
thread.save();
|
||||||
return thread;
|
return thread;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue