Update group with remaining options, after creating it

This commit is contained in:
AsamK 2021-05-15 18:26:45 +02:00
parent ea633efc9c
commit 81ee2c2d2b
3 changed files with 25 additions and 18 deletions

View file

@ -1060,7 +1060,7 @@ public class Manager implements Closeable {
result = sendUpdateGroupV2Message(group, groupGroupChangePair.first(), groupGroupChangePair.second());
}
if (result == null || name != null || description != null || avatarFile != null) {
if (name != null || description != null || avatarFile != null) {
var groupGroupChangePair = groupV2Helper.updateGroup(group, name, description, avatarFile);
if (avatarFile != null) {
avatarStore.storeGroupAvatar(group.getGroupId(),