summary refs log tree commit diff
path: root/src/ui/UserProfile.h
diff options
context:
space:
mode:
authorThulinma <jaron@vietors.com>2021-09-19 22:55:12 +0200
committerThulinma <jaron@vietors.com>2021-10-06 22:52:19 +0200
commit456a41bcdf9c0bff99a20bb77d1039c89f2101eb (patch)
tree7fda457fa164998d60a745ac2172da702b66ff6f /src/ui/UserProfile.h
parentFix appimage builder url (diff)
downloadnheko-456a41bcdf9c0bff99a20bb77d1039c89f2101eb.tar.xz
Added support for refreshing the device list, marking current device with a checkmark instead of a lock
Diffstat (limited to '')
-rw-r--r--src/ui/UserProfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/UserProfile.h b/src/ui/UserProfile.h
index a148c431..c83ec01e 100644
--- a/src/ui/UserProfile.h
+++ b/src/ui/UserProfile.h
@@ -18,6 +18,7 @@ Q_NAMESPACE
 
 enum Status
 {
+    SELF,
     VERIFIED,
     UNVERIFIED,
     BLOCKED
@@ -118,6 +119,7 @@ public:
     Q_INVOKABLE void verify(QString device = "");
     Q_INVOKABLE void unverify(QString device = "");
     Q_INVOKABLE void fetchDeviceList(const QString &userID);
+    Q_INVOKABLE void refreshDevices();
     Q_INVOKABLE void banUser();
     // Q_INVOKABLE void ignoreUser();
     Q_INVOKABLE void kickUser();