aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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()));
}