mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage.
This commit is contained in:
@@ -241,12 +241,12 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
{
|
||||
MXLogDebug(@"[RoomBubbleCellData] attributedTextMessage called on wrong thread");
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
self.attributedTextMessage = [self refreshAttributedTextMessage];
|
||||
self.attributedTextMessage = [self makeAttributedString];
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
self.attributedTextMessage = [self refreshAttributedTextMessage];
|
||||
self.attributedTextMessage = [self makeAttributedString];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -338,7 +338,7 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
|
||||
#pragma mark -
|
||||
|
||||
- (NSAttributedString*)refreshAttributedTextMessage
|
||||
- (NSAttributedString*)makeAttributedString
|
||||
{
|
||||
// CAUTION: This method must be called on the main thread.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user