aboutsummaryrefslogtreecommitdiff
path: root/plugins/Matrix.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-09-12 01:08:31 +0200
committerdec05eba <dec05eba@protonmail.com>2022-09-12 01:08:31 +0200
commitc944b7b874ce2296b0c67cd9e7c670304c514e1f (patch)
tree1a13a4381f2bd3126cbd8a1b4161ad2d962b9d23 /plugins/Matrix.hpp
parentef4442c6f58929f2eefb10be218b8d3638d88358 (diff)
Sneed moment
Diffstat (limited to 'plugins/Matrix.hpp')
-rw-r--r--plugins/Matrix.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 45dd1f7..36188f0 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -629,7 +629,7 @@ namespace QuickMedia {
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);
+ PluginResult upload_file(RoomData *room, const std::string &filepath, std::string filename, UploadInfo &file_info, UploadInfo &thumbnail_info, std::string &err_msg, bool upload_thumbnail = true);
void add_room(std::unique_ptr<RoomData> room);
void remove_room(const std::string &room_id);
// Returns false if an invite to the room already exists