diff options
Diffstat (limited to 'src/gui/accountstate.h')
-rw-r--r-- | src/gui/accountstate.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/src/gui/accountstate.h b/src/gui/accountstate.h index 74e41ad6a..7946e2f96 100644 --- a/src/gui/accountstate.h +++ b/src/gui/accountstate.h @@ -21,7 +21,7 @@ #include <QPointer> #include "connectionvalidator.h" #include "creds/abstractcredentials.h" -#include "userstatus.h" + #include <memory> class QSettings; @@ -162,23 +162,6 @@ public: ///Asks for user credentials void handleInvalidCredentials(); - /** Returns the user status (Online, Dnd, Away, Offline, Invisible) - * https://gist.github.com/georgehrke/55a0412007f13be1551d1f9436a39675 - */ - UserStatus::Status status() const; - - /** Returns the user status Message (text) - */ - QString statusMessage() const; - - /** Returns the user status icon url - */ - QUrl statusIcon() const; - - /** Returns the user status emoji - */ - QString statusEmoji() const; - /** Returns the notifications status retrieved by the notificatons endpoint * https://github.com/nextcloud/desktop/issues/2318#issuecomment-680698429 */ @@ -188,10 +171,6 @@ public: */ void setDesktopNotificationsAllowed(bool isAllowed); - /** Fetch the user status (status, icon, message) - */ - void fetchUserStatus(); - public slots: /// Triggers a ping to the server to update state and /// connection status and errors. @@ -256,7 +235,6 @@ private: */ AccountAppList _apps; - UserStatus *_userStatus; bool _isDesktopNotificationsAllowed; }; |