aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--src/plugins/Matrix.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
index 307b50b..d6f7b7c 100644
--- a/TODO
+++ b/TODO
@@ -135,4 +135,5 @@ Handle matrix token being invalidated while running.
Update upload limit if its updated on the server (can it be updated while the server is running?).
Editing a reply removes reply formatting (both in body and formatted_body). Element also does this when you edit a reply twice. This breaks element mobile that is unable to display replied-to messages without correct formatting (doesn't fetch the replied-to message).
Implement m.room.tombstone.
-Show a marker when a room uses encryption. \ No newline at end of file
+Show a marker when a room uses encryption.
+Remove replied-to message text in room preview. That shows ignored users text and we want to see the reply message instead anyways. \ No newline at end of file
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 410e4c6..baa3ec5 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -323,7 +323,7 @@ namespace QuickMedia {
}
static void sort_room_body_items(std::vector<std::shared_ptr<BodyItem>> &room_body_items) {
- #if 0
+ #if 1
std::sort(room_body_items.begin(), room_body_items.end(), [](const std::shared_ptr<BodyItem> &body_item1, const std::shared_ptr<BodyItem> &body_item2) {
RoomData *room1 = static_cast<RoomData*>(body_item1->userdata);
RoomData *room2 = static_cast<RoomData*>(body_item2->userdata);