Handle incoming group avatars on group creation
This commit is contained in:
parent
3d6c251fd1
commit
d8efc4d216
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ textsecure.processDecrypted = function(decrypted, source) {
|
|||
throw new Error("Got message for unknown group");
|
||||
}
|
||||
textsecure.storage.groups.createNewGroup(decrypted.group.members, decrypted.group.id);
|
||||
if (decrypted.group.avatar !== null) {
|
||||
promises.push(handleAttachment(decrypted.group.avatar));
|
||||
}
|
||||
} else {
|
||||
var fromIndex = existingGroup.indexOf(source);
|
||||
|
||||
|
|
Loading…
Reference in a new issue