From 37e0de2d586099fba5736b13dfb945db5f54fe94 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 17 Aug 2021 14:27:27 +0200 Subject: Matrix: fix room description not including message on initial sync because of pinned events --- plugins/Matrix.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp index 5292414..a27a4f6 100644 --- a/plugins/Matrix.hpp +++ b/plugins/Matrix.hpp @@ -612,6 +612,7 @@ namespace QuickMedia { void events_add_room_to_tags(const rapidjson::Value &events_json, RoomData *room_data); void add_invites(const rapidjson::Value &invite_json); void remove_rooms(const rapidjson::Value &leave_json); + PluginResult get_pinned_events(RoomData *room, std::vector &pinned_events); std::shared_ptr parse_message_event(const rapidjson::Value &event_item_json, RoomData *room_data); PluginResult upload_file(RoomData *room, const std::string &filepath, UploadInfo &file_info, UploadInfo &thumbnail_info, std::string &err_msg, bool upload_thumbnail = true); void add_room(std::unique_ptr room); -- cgit v1.2.3