diff --git a/src/gui/Pages/AddChat/CreateRoom.qml b/src/gui/Pages/AddChat/CreateRoom.qml index e5f4b52c..13e8bba9 100644 --- a/src/gui/Pages/AddChat/CreateRoom.qml +++ b/src/gui/Pages/AddChat/CreateRoom.qml @@ -8,6 +8,7 @@ import "../../Base/ButtonLayout" HFlickableColumnPage { id: page + enabled: account.presence !== "offline" property string userId diff --git a/src/gui/Pages/AddChat/DirectChat.qml b/src/gui/Pages/AddChat/DirectChat.qml index eefc1980..047149b7 100644 --- a/src/gui/Pages/AddChat/DirectChat.qml +++ b/src/gui/Pages/AddChat/DirectChat.qml @@ -8,6 +8,7 @@ import "../../Base/ButtonLayout" HFlickableColumnPage { id: page + enabled: account.presence !== "offline" property string userId diff --git a/src/gui/Pages/AddChat/JoinRoom.qml b/src/gui/Pages/AddChat/JoinRoom.qml index 9cab4933..b21b22fd 100644 --- a/src/gui/Pages/AddChat/JoinRoom.qml +++ b/src/gui/Pages/AddChat/JoinRoom.qml @@ -8,6 +8,7 @@ import "../../Base/ButtonLayout" HFlickableColumnPage { id: page + enabled: account.presence !== "offline" property string userId