aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 8b9dcc9..0801418 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -260,7 +260,7 @@ namespace QuickMedia {
struct UploadInfo {
ContentType content_type;
- size_t file_size;
+ int64_t file_size = 0;
std::optional<Dimensions> dimensions;
std::optional<double> duration_seconds;
std::string content_uri;
@@ -718,7 +718,7 @@ namespace QuickMedia {
std::string message_get_author_displayname(Message *message) const;
// Cached
- PluginResult get_config(int *upload_size);
+ PluginResult get_config(int64_t *upload_size);
std::shared_ptr<UserInfo> get_me(RoomData *room);
@@ -804,7 +804,7 @@ namespace QuickMedia {
std::string homeserver;
std::string homeserver_domain;
std::string well_known_base_url;
- std::optional<int> upload_limit;
+ std::optional<int64_t> upload_limit;
std::string next_batch;
std::string next_notifications_token;
std::mutex next_batch_mutex;