aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-04 11:30:03 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-04 14:15:24 +0200
commitb64cb2c537d06d822a63f8139ca9bf2ffd80c21f (patch)
treedaf7dc651b561c277d605a2eb097f2858150b7ec /src/plugins
parent8a21f2d4f70ecd4509aa8976c5e40ee70395a6a0 (diff)
Matrix: show room name in mention notification, timestamps for messages
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index d4fdd03..8f3f679 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -201,6 +201,7 @@ namespace QuickMedia {
auto body_item = BodyItem::create("");
body_item->set_author(messages[i]->user->display_name);
body_item->set_description(messages[i]->body);
+ body_item->set_timestamp(messages[i]->timestamp);
if(!messages[i]->thumbnail_url.empty())
body_item->thumbnail_url = messages[i]->thumbnail_url;
else if(!messages[i]->url.empty() && messages[i]->type == MessageType::IMAGE)