diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-08 01:45:24 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-08 01:59:05 +0200 |
commit | 96f4169be97715e6b6b45663492e3791ba21ae09 (patch) | |
tree | 618753677e69ac590aa2cad267dfd7d31c574bfd /src/Cache.h | |
parent | Smooth scaling for images (diff) | |
download | nheko-96f4169be97715e6b6b45663492e3791ba21ae09.tar.xz |
Show presence and set custom status messages
Diffstat (limited to 'src/Cache.h')
-rw-r--r-- | src/Cache.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Cache.h b/src/Cache.h index 12465c9d..b5275623 100644 --- a/src/Cache.h +++ b/src/Cache.h @@ -54,6 +54,12 @@ insertDisplayName(const QString &room_id, const QString &user_id, const QString void insertAvatarUrl(const QString &room_id, const QString &user_id, const QString &avatar_url); +// presence +mtx::presence::PresenceState +presenceState(const std::string &user_id); +std::string +statusMessage(const std::string &user_id); + //! Load saved data for the display names & avatars. void populateMembers(); |