forked from mystiq/hydrogen-web
use private topic field as public one got removed as not needed in view
This commit is contained in:
parent
175f869c83
commit
57b1542688
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ export class CreateRoomViewModel extends ViewModel {
|
|||
const roomBeingCreated = this._session.createRoom({
|
||||
type: this.isPublic ? RoomType.Public : RoomType.Private,
|
||||
name: this._name ?? undefined,
|
||||
topic: this.topic ?? undefined,
|
||||
topic: this._topic ?? undefined,
|
||||
isEncrypted: !this.isPublic && this._isEncrypted,
|
||||
isFederationDisabled: this._isFederationDisabled,
|
||||
alias: this.isPublic ? ensureAliasIsLocalPart(this._roomAlias) : undefined,
|
||||
|
|
Loading…
Reference in a new issue