diff options
author | Arnav Rawat <rawat.arnav@gmail.com> | 2021-02-22 13:42:42 -0600 |
---|---|---|
committer | Arnav Rawat <rawat.arnav@gmail.com> | 2021-02-22 13:42:42 -0600 |
commit | 1f92a5a957f7de38ef7c2bf425b8d6ac7fa1239c (patch) | |
tree | 35d23d15119703d6cdb04b040e7fc1ef0c6efa18 /lib/user.h | |
parent | 48d2ecc4df4d1883326036e55949156cfb37acc6 (diff) | |
download | libquotient-1f92a5a957f7de38ef7c2bf425b8d6ac7fa1239c.tar.gz libquotient-1f92a5a957f7de38ef7c2bf425b8d6ac7fa1239c.zip |
Adds ability remove the avatar
Not possible previously
Diffstat (limited to 'lib/user.h')
-rw-r--r-- | lib/user.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -117,6 +117,8 @@ public Q_SLOTS: bool setAvatar(const QString& fileName); /// Upload contents of the QIODevice and set that as an avatar bool setAvatar(QIODevice* source); + /// Removes the avatar from the profile + void removeAvatar(); /// Create or find a direct chat with this user /*! The resulting chat is returned asynchronously via * Connection::directChatAvailable() |