diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-07-08 17:28:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-07-08 17:28:28 +0200 |
commit | 931855441a12b328afc0aecc1464af927199808b (patch) | |
tree | 38248e3f7eb1790e9f8bb7aaefb88c4584466808 /src/ui | |
parent | Fix users with @room in the name pinging the whole room when replied to (diff) | |
download | nheko-931855441a12b328afc0aecc1464af927199808b.tar.xz |
Allow editing aliases
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/NhekoGlobalObject.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/NhekoGlobalObject.h b/src/ui/NhekoGlobalObject.h index bd141f35..f9de489d 100644 --- a/src/ui/NhekoGlobalObject.h +++ b/src/ui/NhekoGlobalObject.h @@ -9,6 +9,7 @@ #include <QObject> #include <QPalette> +#include "AliasEditModel.h" #include "PowerlevelsEditModels.h" #include "Theme.h" #include "UserProfile.h" @@ -59,6 +60,10 @@ public: { return new PowerlevelEditingModels(room_id_); } + Q_INVOKABLE AliasEditingModel *editAliases(QString room_id_) const + { + return new AliasEditingModel(room_id_.toStdString()); + } public slots: void updateUserProfile(); |