mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
MESSENGER-4882 refactor delete avatar
This commit is contained in:
@@ -1423,7 +1423,8 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
if (shouldRemoveRoomAvatarImage) {
|
||||
shouldRemoveRoomAvatarImage = false;
|
||||
[updatedItemsDict removeObjectForKey:kRoomSettingsAvatarKey];
|
||||
pendingOperation = [mxRoom setAvatar:@"" success:^{
|
||||
// delete room avatar
|
||||
pendingOperation = [mxRoom sendStateEventOfType:kMXEventTypeStringRoomAvatar content:@{} stateKey:@"" success:^(NSString *eventId) {
|
||||
if (weakSelf)
|
||||
{
|
||||
typeof(self) self = weakSelf;
|
||||
|
||||
Reference in New Issue
Block a user