Prevent "failed to convert null" qt warning
This commit is contained in:
parent
b34387ad79
commit
0aedc1a7d0
|
@ -458,8 +458,8 @@ class MatrixClient(nio.AsyncClient):
|
||||||
) -> str:
|
) -> str:
|
||||||
|
|
||||||
response = await super().room_create(
|
response = await super().room_create(
|
||||||
name = name,
|
name = name or None,
|
||||||
topic = topic,
|
topic = topic or None,
|
||||||
federate = federate,
|
federate = federate,
|
||||||
visibility =
|
visibility =
|
||||||
nio.RoomVisibility.public if public else
|
nio.RoomVisibility.public if public else
|
||||||
|
|
|
@ -20,8 +20,8 @@ HBox {
|
||||||
errorMessage.text = ""
|
errorMessage.text = ""
|
||||||
|
|
||||||
let args = [
|
let args = [
|
||||||
nameField.text || null,
|
nameField.text,
|
||||||
topicField.text || null,
|
topicField.text,
|
||||||
publicCheckBox.checked,
|
publicCheckBox.checked,
|
||||||
encryptCheckBox.checked,
|
encryptCheckBox.checked,
|
||||||
! blockOtherServersCheckBox.checked,
|
! blockOtherServersCheckBox.checked,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user