Merge pull request #2618 from vector-im/fix_redacted_event_reactions

RoomDataSource: Do not display reactions when event is redacted
This commit is contained in:
SBiOSoftWhare
2019-07-30 18:42:41 +02:00
committed by GitHub
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ Improvements:
* Reactions: Show who reacted (#2591).
Bug fix:
* Crash when leaving settings due to backup section refresh animation.
* Crash when leaving settings due to backup section refresh animation.
* Reactions: Do not display reactions on redacted events in timeline.
Changes in 0.9.1 (2019-07-17)
===============================================
@@ -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