aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-12-14 22:26:59 +0100
committerdec05eba <dec05eba@protonmail.com>2022-12-14 22:26:59 +0100
commite47a34f3c4d9f892c002d0dce7fb43a3ca1b4f28 (patch)
treedae5c3517cfb52313c4fb93ba7d95668d2b387d9 /plugins
parent935cd15d6823bd7691fff6e6a741aebf7926c8e5 (diff)
Matrix: do not progress if internet is down (load qm read markers fails)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 0a2092c..4af8442 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -749,7 +749,7 @@ namespace QuickMedia {
PluginResult set_pinned_events(RoomData *room, const std::vector<std::string> &pinned_events, bool is_add);
PluginResult set_qm_last_read_message_timestamp(RoomData *room, int64_t timestamp);
- void load_qm_read_markers_from_account_data();
+ bool load_qm_read_markers_from_account_data();
PluginResult parse_sync_response(const rapidjson::Document &root, bool initial_sync);
PluginResult parse_notifications(const rapidjson::Value &notifications_json, std::function<void(const MatrixNotification&)> callback_func);