aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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 4af8442..ccbd8c0 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -253,7 +253,6 @@ namespace QuickMedia {
std::string room_avatar_url;
std::shared_ptr<UserInfo> invited_by;
time_t timestamp = 0; // In milliseconds
- bool new_invite = false;
};
enum class MessageDirection {
@@ -755,6 +754,7 @@ namespace QuickMedia {
PluginResult parse_notifications(const rapidjson::Value &notifications_json, std::function<void(const MatrixNotification&)> callback_func);
PluginResult parse_sync_account_data(const rapidjson::Value &account_data_json);
PluginResult parse_sync_room_data(const rapidjson::Value &rooms_json, bool initial_sync);
+ void add_new_invites();
void parse_custom_emoji(const rapidjson::Value &custom_emoji_json);
void load_custom_emoji_from_cache();
PluginResult get_previous_room_messages(RoomData *room_data, bool latest_messages, size_t &num_new_messages, bool *reached_end = nullptr);