mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
Stop requesting URL previews if the feature has been disabled on the homeserver.
This commit is contained in:
@@ -1117,6 +1117,8 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
});
|
||||
|
||||
} failure:^(NSError * _Nullable error) {
|
||||
MXStrongifyAndReturnIfNil(self);
|
||||
|
||||
MXLogDebug(@"[RoomBubbleCellData] Failed to get url preview")
|
||||
|
||||
// Remove the loading URLPreviewView, indicate that the layout needs refreshing and send a notification for refresh
|
||||
|
||||
Reference in New Issue
Block a user