aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-11-05 15:06:21 +0100
committerdec05eba <dec05eba@protonmail.com>2020-11-05 15:06:21 +0100
commit772e5c493615d7bdb4275a921c4132d7fe9e8a3a (patch)
tree4e7f73591a36be9baf89f2420906ca04f63d290d /src
parentf0d22c8635ac8ed28d9015cf68be3fad308486a6 (diff)
Move mentioned room to top again
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 1 insertions, 1 deletions
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);