From 04ae4d46bfabcca2159735ddc86ca986768338ae Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Tue, 30 Jul 2019 18:24:12 +0200 Subject: [PATCH 1/2] RoomDataSource: Do not display reactions when event is redacted. --- Riot/Modules/Room/DataSources/RoomDataSource.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Riot/Modules/Room/DataSources/RoomDataSource.m b/Riot/Modules/Room/DataSources/RoomDataSource.m index 376db16c3..3b05bc638 100644 --- a/Riot/Modules/Room/DataSources/RoomDataSource.m +++ b/Riot/Modules/Room/DataSources/RoomDataSource.m @@ -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 From 63ccbfb67b7351a13408da138922cf32db5ed1fd Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Tue, 30 Jul 2019 18:26:18 +0200 Subject: [PATCH 2/2] Update changes --- CHANGES.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index dcc6b69d9..bc692af8d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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) ===============================================