mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Fix poll ended event rendering
This commit is contained in:
@@ -1072,6 +1072,15 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
|
||||
// We do not want to merge room create event cells with other cell types
|
||||
return NO;
|
||||
}
|
||||
|
||||
if (self.tag == RoomBubbleCellDataTagPoll) {
|
||||
MXEvent* event = self.events.firstObject;
|
||||
|
||||
if (event) {
|
||||
// m.poll.ended events should always show the sender information
|
||||
return event.eventType != MXEventTypePollEnd;
|
||||
}
|
||||
}
|
||||
|
||||
if (self.hasThreadRoot || bubbleCellData.hasThreadRoot)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user