Add device_id and record tag

This commit is contained in:
yostyle
2022-10-19 13:10:59 +02:00
parent ec08a54c60
commit b4848d309d
11 changed files with 53 additions and 28 deletions
@@ -66,7 +66,7 @@ class VoiceBroadcastServiceProvider {
/// - completion: Completion block that will return the lastest voice broadcast info state event of the room.
private func getLastVoiceBroadcastInfo(for room: MXRoom, completion: @escaping (MXEvent?) -> Void) {
room.state { roomState in
completion(roomState?.stateEvents(with: .custom(VoiceBroadcastSettings.eventType))?.last ?? nil)
completion(roomState?.stateEvents(with: .custom(VoiceBroadcastSettings.voiceBroadcastInfoContentKeyType))?.last ?? nil)
}
}