Update Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m

Co-authored-by: Gil Eluard <gile@element.io>
This commit is contained in:
ismailgulek
2022-03-17 15:27:29 +03:00
committed by GitHub
parent e18f1b6471
commit 0fbb6cf324
@@ -2187,7 +2187,7 @@ static NSString *const kHTMLATagRegexPattern = @"<a href=\"(.*?)\">([^<]*)</a>";
}
else
{
message = event.content[kMXMessageBodyKey];
MXJSONModelSetString(message, event.content[kMXMessageBodyKey]);
}
if (_emojiOnlyTextFont && [MXKTools isEmojiOnlyString:message])