diff --git a/Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m b/Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m index f63e2b15b..509c99bdb 100644 --- a/Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m +++ b/Riot/Modules/MatrixKit/Utils/EventFormatter/MXKEventFormatter.m @@ -1580,7 +1580,7 @@ static NSString *const kHTMLATagRegexPattern = @"([^<]*)"; } else { - body = event.content[kMXMessageBodyKey]; + MXJSONModelSetString(body, event.content[kMXMessageBodyKey]); } // Check sticker validity