aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-17 14:27:27 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-17 14:27:27 +0200
commit37e0de2d586099fba5736b13dfb945db5f54fe94 (patch)
tree73ee5850ce6aec55096b8805c18cf1bca4d973d4 /plugins
parent395aaef9ba9e7305fe2c5e4ffb8a87e9ae6cdcd9 (diff)
Matrix: fix room description not including message on initial sync because of pinned events
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp1
1 files changed, 1 insertions, 0 deletions
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<std::string> &pinned_events);
std::shared_ptr<Message> 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<RoomData> room);