Skip to content

Commit

Permalink
avatar was getting nulled with any update, no more "unsetting"
Browse files Browse the repository at this point in the history
// FREEBIE
  • Loading branch information
mcginty committed Feb 24, 2014
1 parent f303044 commit e3aed66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/org/thoughtcrime/securesms/GroupCreateActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,7 @@ private Pair<Long, Recipients> handleUpdatePushGroup(byte[] groupId, String grou
new LinkedList<String>(newMembers));

groupDatabase.updateTitle(groupId, groupName);
groupDatabase.updateAvatar(groupId, avatar);

if (avatar != null) groupDatabase.updateAvatar(groupId, avatar);

return handlePushOperation(groupId, groupName, avatar, memberE164Numbers);
}
Expand Down

0 comments on commit e3aed66

Please sign in to comment.