aboutsummaryrefslogtreecommitdiff
path: root/plugins/Matrix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Matrix.hpp')
-rw-r--r--plugins/Matrix.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index be89adb..df8fa43 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -136,7 +136,7 @@ namespace QuickMedia {
bool last_message_read = true;
bool users_fetched = false;
time_t last_read_message_timestamp = 0;
- void *userdata = nullptr; // Pointer to BodyItem. Note: this has to be valid as long as the room is valid
+ std::shared_ptr<BodyItem> body_item;
// 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.