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:
lilia 2015-09-15 13:57:49 -07:00
parent 8b27c99f2b
commit 15d84199c2

View file

@ -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) {