diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Matrix.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 362abeb..9371900 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -120,6 +120,8 @@ namespace QuickMedia { size_t messages_read_index = 0; bool pinned_events_updated = false; + bool name_is_fallback = false; + bool avatar_is_fallback = false; std::atomic_int unread_notification_count = 0; @@ -475,6 +477,7 @@ namespace QuickMedia { void events_set_user_read_marker(const rapidjson::Value &events_json, RoomData *room_data, std::shared_ptr<UserInfo> &me); void events_add_messages(const rapidjson::Value &events_json, RoomData *room_data, MessageDirection message_dir, bool has_unread_notifications); void events_set_room_name(const rapidjson::Value &events_json, RoomData *room_data); + void set_room_name_to_users_if_empty(RoomData *room, const std::string &room_creator_user_id); void events_add_pinned_events(const rapidjson::Value &events_json, RoomData *room_data); void events_add_room_to_tags(const rapidjson::Value &events_json, RoomData *room_data); void add_invites(const rapidjson::Value &invite_json); |