Reactions: Follow small SDK change

This commit is contained in:
manuroe
2019-05-16 17:44:07 +02:00
parent b0c8f64361
commit 7782fde16f
@@ -85,7 +85,7 @@ final class ReactionsMenuViewModel: ReactionsMenuViewModelType {
}
private func loadData() {
guard let reactionCounts = self.aggregations.reactions(onEvent: self.eventId, inRoom: self.roomId) else {
guard let reactionCounts = self.aggregations.aggregatedReactions(onEvent: self.eventId, inRoom: self.roomId)?.reactions else {
return
}