summary refs log tree commit diff
path: root/src/ui/UserProfile.h
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-01-29 11:55:24 +0530
committerJedi18 <targetakhil@gmail.com>2021-01-29 11:55:24 +0530
commit9b5a287d14a18b1bef012a348dd77350fdb70ba3 (patch)
tree24ee09eb496c46a7b38b38a9921e6ff43ef975a7 /src/ui/UserProfile.h
parentfix linting 2 (diff)
downloadnheko-9b5a287d14a18b1bef012a348dd77350fdb70ba3.tar.xz
made requeste changes
Diffstat (limited to '')
-rw-r--r--src/ui/UserProfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/UserProfile.h b/src/ui/UserProfile.h
index 5ccb54b3..d450d58f 100644
--- a/src/ui/UserProfile.h
+++ b/src/ui/UserProfile.h
@@ -83,7 +83,7 @@ class UserProfile : public QObject
         Q_PROPERTY(QString userid READ userid CONSTANT)
         Q_PROPERTY(QString avatarUrl READ avatarUrl CONSTANT)
         Q_PROPERTY(DeviceInfoModel *deviceList READ deviceList CONSTANT)
-        Q_PROPERTY(bool globalUserProfile READ globalUserProfile CONSTANT)
+        Q_PROPERTY(bool isGlobalUserProfile READ isGlobalUserProfile CONSTANT)
         Q_PROPERTY(bool isUserVerified READ getUserStatus NOTIFY userStatusChanged)
         Q_PROPERTY(
           bool userVerificationEnabled READ userVerificationEnabled NOTIFY userStatusChanged)
@@ -101,7 +101,7 @@ public:
         QString userid();
         QString displayName();
         QString avatarUrl();
-        bool globalUserProfile() const;
+        bool isGlobalUserProfile() const;
         bool getUserStatus();
         bool userVerificationEnabled() const;
         bool isSelf() const;