RoomDataSource: Do not display reactions when event is redacted.

This commit is contained in:
SBiOSoftWhare
2019-07-30 18:24:12 +02:00
parent 4472228f0a
commit 0c1b199308
@@ -242,8 +242,8 @@
BubbleReactionsView *reactionsView;
if (reactions && !isCollapsableCellCollapsed)
{
if (!component.event.isRedactedEvent && reactions && !isCollapsableCellCollapsed)
{
BOOL showAllReactions = [cellData showAllReactionsForEvent:componentEventId];
BubbleReactionsViewModel *bubbleReactionsViewModel = [[BubbleReactionsViewModel alloc] initWithAggregatedReactions:reactions
eventId:componentEventId