diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-02-23 10:43:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 10:43:25 +0100 |
commit | 382b08fc5ad9f22dacb2e6504869c42062565e7c (patch) | |
tree | c5b6024be25f1057b045cdb48f275efab91ac352 /lib/user.h | |
parent | ec60e76d585813ea54a22b58d6fabc52f113e4b1 (diff) | |
parent | 1f92a5a957f7de38ef7c2bf425b8d6ac7fa1239c (diff) | |
download | libquotient-382b08fc5ad9f22dacb2e6504869c42062565e7c.tar.gz libquotient-382b08fc5ad9f22dacb2e6504869c42062565e7c.zip |
Merge pull request #455 from arawaaa/removeavatar
Adds ability remove the avatar
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() |