aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-02-09 13:01:53 +0100
committerdec05eba <dec05eba@protonmail.com>2021-02-09 13:01:53 +0100
commitbc7ef0c3fab69c4ef47aa8f50da9f5818d00bc88 (patch)
treee6a54722c36428c778cfcc7d85fd8af0cf940abb /src
parent43f21b54ff2ff80ed1d480b07116ba0cfa0b5e47 (diff)
Matrix: more room sorting...
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 4133637..66a942b 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -545,8 +545,8 @@ namespace QuickMedia {
room->body_item->set_title_color(sf::Color(255, 100, 100));
room->last_message_read = false;
- rooms_page->move_room_to_top(room);
- room_tags_page->move_room_to_top(room);
+ rooms_page->sort_rooms();
+ room_tags_page->sort_rooms();
} else if(is_initial_sync) {
room->body_item->set_description(matrix->message_get_author_displayname(last_new_message.get()) + ": " + message_to_room_description_text(last_new_message.get()));
}