mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
Add voice broadcast slider (#7010)
This commit is contained in:
@@ -20,7 +20,16 @@ import Foundation
|
||||
class TimelinePollProvider: NSObject {
|
||||
static let shared = TimelinePollProvider()
|
||||
|
||||
var session: MXSession?
|
||||
var session: MXSession? {
|
||||
willSet {
|
||||
guard let currentSession = self.session else { return }
|
||||
|
||||
if currentSession != newValue {
|
||||
// Clear all stored coordinators on new session
|
||||
coordinatorsForEventIdentifiers.removeAll()
|
||||
}
|
||||
}
|
||||
}
|
||||
var coordinatorsForEventIdentifiers = [String: TimelinePollCoordinator]()
|
||||
|
||||
/// Create or retrieve the poll timeline coordinator for this event and return
|
||||
|
||||
Reference in New Issue
Block a user