Fix: allow to render a TimelinePoll even if the poll is loading

This commit is contained in:
Nicolas Mauri
2023-04-25 09:48:11 +02:00
parent 257e256761
commit 5926dad024
8 changed files with 61 additions and 7 deletions
@@ -170,6 +170,7 @@ private extension PollHistoryService {
do {
newContext.pollAggregator = try PollAggregator(session: room.mxSession, room: room, pollEvent: pollStartEvent, delegate: self)
newContext.pollAggregator?.reloadPollData()
} catch {
pollAggregationContexts.removeValue(forKey: eventId)
}