diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-22 20:48:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-10-22 20:49:15 +0200 |
commit | 66445c507c4ea9322c91306e7ee0d145b8dbd94d (patch) | |
tree | 6ebf77fb17ea4629ff1c8e7c0bc7fcf4d8062f0c /src/Cache.h | |
parent | b9f2caa238836be467fc7cf81046bcb796f9853b (diff) |
Trade CPU usage for 30MB of members in RAM
Diffstat (limited to 'src/Cache.h')
-rw-r--r-- | src/Cache.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Cache.h b/src/Cache.h index 24b6df9e..98e6cb75 100644 --- a/src/Cache.h +++ b/src/Cache.h @@ -44,16 +44,6 @@ displayName(const QString &room_id, const QString &user_id); QString avatarUrl(const QString &room_id, const QString &user_id); -void -removeDisplayName(const QString &room_id, const QString &user_id); -void -removeAvatarUrl(const QString &room_id, const QString &user_id); - -void -insertDisplayName(const QString &room_id, const QString &user_id, const QString &display_name); -void -insertAvatarUrl(const QString &room_id, const QString &user_id, const QString &avatar_url); - // presence mtx::presence::PresenceState presenceState(const std::string &user_id); @@ -74,9 +64,6 @@ markDeviceVerified(const std::string &user_id, const std::string &device); void markDeviceUnverified(const std::string &user_id, const std::string &device); -//! Load saved data for the display names & avatars. -void -populateMembers(); std::vector<std::string> joinedRooms(); |