Include ourselves in member list for a new group
Otherwise, the next incoming group update will show "<your number> joined the group". // FREEBIE
This commit is contained in:
parent
8b27c99f2b
commit
15d84199c2
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@
|
|||
|
||||
return this.avatarInput.getThumbnail().then(function(avatarFile) {
|
||||
var members = this.getRecipients().pluck('id');
|
||||
members.push(textsecure.storage.user.getNumber());
|
||||
textsecure.storage.groups.createNewGroup(members).then(function(group) {
|
||||
return group.id;
|
||||
}).then(function(groupId) {
|
||||
|
|
Loading…
Add table
Reference in a new issue