From a1688f339b4471069d43d54fa1db7c8b211ae7fc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 2 Apr 2021 04:42:06 +0200 Subject: QuickMedia -> quickmedia --- src/plugins/Matrix.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/plugins/Matrix.cpp') diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 4ac4da1..ccae6ba 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -3745,12 +3745,11 @@ namespace QuickMedia { if(!avatar_url.empty()) avatar_url = get_thumbnail_url(homeserver, avatar_url); - if(!avatar_url.empty()) { + if(!avatar_url.empty()) room_body_item->thumbnail_url = std::move(avatar_url); - room_body_item->thumbnail_size = sf::Vector2i(32 * get_ui_scale(), 32 * get_ui_scale()); - room_body_item->thumbnail_mask_type = ThumbnailMaskType::CIRCLE; - } } + room_body_item->thumbnail_size = sf::Vector2i(32 * get_ui_scale(), 32 * get_ui_scale()); + room_body_item->thumbnail_mask_type = ThumbnailMaskType::CIRCLE; rooms.push_back(std::move(room_body_item)); } -- cgit v1.2.3