Reactions: Follow small SDK change

This commit is contained in:
manuroe
2019-05-16 17:44:07 +02:00
parent d34c7a1d89
commit cc8862b6f1
@@ -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
}