summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/RoomList.qml2
-rw-r--r--resources/qml/dialogs/InputDialog.qml2
2 files changed, 4 insertions, 0 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml
index 350b3846..c82bc43a 100644
--- a/resources/qml/RoomList.qml
+++ b/resources/qml/RoomList.qml
@@ -249,6 +249,8 @@ Page {
                 prompt: qsTr("Enter your status message:")
                 title: qsTr("Status Message")
 
+                text: userInfoGrid.profile ? Presence.userStatus(userInfoGrid.profile.userid) : ""
+
                 onAccepted: function (text) {
                     Nheko.setStatusMessage(text);
                 }
diff --git a/resources/qml/dialogs/InputDialog.qml b/resources/qml/dialogs/InputDialog.qml
index bf3cbc9a..c963febb 100644
--- a/resources/qml/dialogs/InputDialog.qml
+++ b/resources/qml/dialogs/InputDialog.qml
@@ -13,6 +13,8 @@ ApplicationWindow {
 
     property alias prompt: promptLabel.text
     property alias echoMode: statusInput.echoMode
+    property alias text: statusInput.text
+
     signal accepted(text: string)
 
     modality: Qt.NonModal