From b64cb2c537d06d822a63f8139ca9bf2ffd80c21f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 4 Oct 2020 11:30:03 +0200 Subject: Matrix: show room name in mention notification, timestamps for messages --- src/plugins/Matrix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins') 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) -- cgit v1.2.3