mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
JitsiService: Use RoomIDComponents to get local room ID.
This commit is contained in:
@@ -229,7 +229,8 @@ final class JitsiService: NSObject {
|
||||
conferenceID = Base32Coder.encodedString(roomID, padding: false)
|
||||
authenticationTypeString = authenticationType.identifier
|
||||
} else {
|
||||
let localRoomId = roomID.components(separatedBy: ":").first ?? ""
|
||||
let roomIDComponents = RoomIDComponents(matrixID: roomID)
|
||||
let localRoomId = roomIDComponents?.localRoomID ?? ""
|
||||
conferenceID = localRoomId + widgetSessionId
|
||||
authenticationTypeString = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user