Update RiotSwiftUI/Modules/Room/PollHistory/Service/MatrixSDK/PollHistoryService.swift

Co-authored-by: Alfonso Grillo <alfogrillo@element.io>
This commit is contained in:
Nicolas Mauri
2023-04-27 14:55:40 +02:00
committed by GitHub
parent 1c45459410
commit 0bc32f0f97
@@ -209,7 +209,6 @@ extension PollHistoryService: PollAggregatorDelegate {
func pollAggregator(_ aggregator: PollAggregator, didFailWithError: Error) { }
func pollAggregatorDidEndLoading(_ aggregator: PollAggregator) {
guard let poll = aggregator.poll, let context = pollAggregationContexts[poll.id], context.published == false else {
return
}