Skip to content
Snippets Groups Projects
Verified Commit cb74fe6e authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Prefill status message dialog with current status

parent 1d252ae6
No related branches found
No related tags found
No related merge requests found
Pipeline #5854 waiting for manual action
......@@ -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);
}
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment