aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-11-11 21:01:10 +0100
committerdec05eba <dec05eba@protonmail.com>2022-11-11 21:01:10 +0100
commit68528e19c46946e1a7e03353893b59b2e2a49559 (patch)
tree2b5d54289f3fa6630767aad06676c96881e465df /plugins
parent2bddad9701422b9fcf01c547a10054eb17ccdceb (diff)
Show unread mentions number at top of message
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 1744ce0..ac4487c 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -177,6 +177,7 @@ namespace QuickMedia {
bool users_fetched = false;
time_t last_read_message_timestamp = 0;
std::shared_ptr<BodyItem> body_item;
+ std::string latest_message;
// These are messages fetched with |Matrix::get_message_by_id|. Needed to show replies, when replying to old message not part of /sync.
// The value is nullptr if the message is fetched and cached but the event if referenced an invalid message.