mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Create reply body only if replied event sender is available
This commit is contained in:
@@ -1912,7 +1912,7 @@ static NSString *const kHTMLATagRegexPattern = @"<a href=\"(.*?)\">([^<]*)</a>";
|
||||
}
|
||||
}
|
||||
|
||||
if (eventContent)
|
||||
if (eventContent && repliedEvent.sender)
|
||||
{
|
||||
html = [NSString stringWithFormat:@"<mx-reply><blockquote><a href=\"%@\">In reply to</a> <a href=\"%@\">%@</a><br>%@</blockquote></mx-reply>%@",
|
||||
[MXTools permalinkToEvent:repliedEvent.eventId inRoom:repliedEvent.roomId],
|
||||
|
||||
Reference in New Issue
Block a user