aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Text.cpp2
-rw-r--r--src/plugins/Matrix.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index efff61f..e012af5 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -33,8 +33,6 @@ namespace QuickMedia
return -1;
}
- Text::Text(bool bold_font) : Text("", bold_font, 0, 0.0f) {}
-
Text::Text(sf::String _str, bool bold_font, unsigned int characterSize, float maxWidth, bool highlight_urls) :
bold_font(bold_font),
characterSize(characterSize),
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 775d172..5139380 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -644,6 +644,9 @@ namespace QuickMedia {
} else if(last_new_message) {
room->body_item->set_description(extract_first_line_remove_newline_elipses(matrix->message_get_author_displayname(last_new_message.get()), AUTHOR_MAX_LENGTH) + ": " + message_to_room_description_text(last_new_message.get()));
room->body_item->set_description_color(get_current_theme().faded_text_color);
+
+ rooms_page->move_room_to_top(room);
+ room_tags_page->move_room_to_top(room);
}
}