Skip to content

Commit

Permalink
updated create room paramaters
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Feb 28, 2025
1 parent 8906875 commit e577f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ElementX/Sources/Services/Client/ClientProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ class ClientProxy: ClientProxyProtocol {
avatar: avatarURL?.absoluteString,
powerLevelContentOverride: isKnockingOnly ? Self.knockingRoomCreationPowerLevelOverrides : Self.roomCreationPowerLevelOverrides,
joinRuleOverride: isKnockingOnly ? .knock : nil,
historyVisibilityOverride: isRoomPrivate ? .invited : nil,
// This is an FFI naming mistake, what is required is the `aliasLocalPart` not the whole alias
canonicalAlias: aliasLocalPart)
let roomID = try await client.createRoom(request: parameters)
Expand Down

0 comments on commit e577f60

Please sign in to comment.