summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 19:17:20 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:48:10 -0400
commit44d2818e0cb2bceb25e29edf7ef32d02ede42432 (patch)
tree6df3faa4c4c986953e05c9c75e79bdf416159b66 /resources
parentCheck with regex everywhere (diff)
downloadnheko-44d2818e0cb2bceb25e29edf7ef32d02ede42432.tar.xz
Add property for plain room name
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/InviteDialog.qml4
-rw-r--r--resources/qml/Root.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/InviteDialog.qml b/resources/qml/InviteDialog.qml
index 026e3297..e9ff475d 100644
--- a/resources/qml/InviteDialog.qml
+++ b/resources/qml/InviteDialog.qml
@@ -11,7 +11,7 @@ ApplicationWindow {
     id: inviteDialogRoot
 
     property string roomId
-    property string roomName
+    property string plainRoomName
     property InviteesModel invitees
 
     function addInvite() {
@@ -29,7 +29,7 @@ ApplicationWindow {
         close();
     }
 
-    title: qsTr("Invite users to ") + roomName
+    title: qsTr("Invite users to ") + plainRoomName
     x: MainWindow.x + (MainWindow.width / 2) - (width / 2)
     y: MainWindow.y + (MainWindow.height / 2) - (height / 2)
     height: 380
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml
index b5395232..f71c18e2 100644
--- a/resources/qml/Root.qml
+++ b/resources/qml/Root.qml
@@ -150,7 +150,7 @@ Page {
         onOpenInviteUsersDialog: {
             var dialog = inviteDialog.createObject(timelineRoot, {
                 "roomId": Rooms.currentRoom.roomId,
-                "roomName": Rooms.currentRoom.roomName,
+                "plainRoomName": Rooms.currentRoom.plainRoomName,
                 "invitees": invitees
             });
             dialog.show();