diff options
Diffstat (limited to 'lib/user.h')
-rw-r--r-- | lib/user.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -43,6 +43,8 @@ namespace QMatrixClient User(QString userId, Connection* connection); ~User() override; + Connection* connection() const; + /** Get unique stable user id * User id is generated by the server and is not changed ever. */ @@ -119,6 +121,10 @@ namespace QMatrixClient * Connection::directChatAvailable() */ void requestDirectChat(); + /** Add the user to the ignore list */ + void ignore(); + /** Remove the user from the ignore list */ + void unmarkIgnore(); signals: void nameAboutToChange(QString newName, QString oldName, |