diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-11-05 15:06:21 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-11-05 15:06:21 +0100 |
commit | 772e5c493615d7bdb4275a921c4132d7fe9e8a3a (patch) | |
tree | 4e7f73591a36be9baf89f2420906ca04f63d290d /src/plugins | |
parent | f0d22c8635ac8ed28d9015cf68be3fad308486a6 (diff) |
Move mentioned room to top again
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 2 |
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); |