Reactions local echoes: Do not show reactions with 0 count (case of reaction being removed)

This commit is contained in:
manuroe
2019-06-12 18:03:21 +02:00
parent 6c66989c93
commit 0e0e2ca0ec
@@ -87,7 +87,7 @@ import UIKit
}
private func loadData() {
guard let reactionCounts = self.aggregations.aggregatedReactions(onEvent: self.eventId, inRoom: self.roomId)?.reactions else {
guard let reactionCounts = self.aggregations.aggregatedReactions(onEvent: self.eventId, inRoom: self.roomId)?.withNonZeroCount()?.reactions else {
return
}