Apply MatrixKit PR changes

This commit is contained in:
ismailgulek
2021-12-09 16:57:43 +03:00
parent 8093844aea
commit 4fc6c75cf2
15 changed files with 161 additions and 69 deletions
@@ -72,6 +72,7 @@ final class PollTimelineCoordinator: Coordinator, PollAggregatorDelegate {
self.parameters.room.sendPollResponse(for: parameters.pollStartEvent,
withAnswerIdentifiers: identifiers,
threadId: nil,
localEcho: nil, success: nil) { [weak self] error in
guard let self = self else { return }
@@ -97,7 +98,7 @@ final class PollTimelineCoordinator: Coordinator, PollAggregatorDelegate {
}
func endPoll() {
parameters.room.sendPollEnd(for: parameters.pollStartEvent, localEcho: nil, success: nil) { [weak self] error in
parameters.room.sendPollEnd(for: parameters.pollStartEvent, threadId: nil, localEcho: nil, success: nil) { [weak self] error in
self?.pollTimelineViewModel.dispatch(action: .showClosingFailure)
}
}