|
|
@ -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;
|
|
|
|
});
|
|
|
|
});
|
|
|
|