aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 6c4c893..2fb0d86 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -12,6 +12,10 @@
namespace QuickMedia {
struct RoomData;
+ struct Message;
+
+ std::string remove_reply_formatting(const std::string &str);
+ std::string message_get_body_remove_formatting(Message *message);
enum class UserResolveState {
NOT_RESOLVED,
@@ -126,9 +130,9 @@ namespace QuickMedia {
void clear_data();
std::string id;
- bool initial_fetch_finished = false;
- // These 4 variables are set by QuickMedia, not the matrix plugin
+ // These 5 variables are set by QuickMedia, not the matrix plugin
+ bool initial_prev_messages_fetch = true;
bool last_message_read = true;
bool users_fetched = false;
time_t last_read_message_timestamp = 0;