create room : start integrating the address field

This commit is contained in:
ganfra 2024-10-30 18:20:57 +01:00
parent f0c1dfa768
commit a4be2106d0
11 changed files with 65 additions and 25 deletions

View file

@ -324,7 +324,8 @@ class RustMatrixClient(
joinRuleOverride = when (createRoomParams.joinRuleOverride) {
JoinRuleOverride.Knock -> RustJoinRule.Knock
JoinRuleOverride.None -> null
}
},
canonicalAlias = createRoomParams.canonicalAlias.getOrNull(),
)
val roomId = RoomId(client.createRoom(rustParams))
// Wait to receive the room back from the sync but do not returns failure if it fails.