From 506b58f0322716bc33b2fea2760f17a9fc559271 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 25 Oct 2022 12:15:00 +0200 Subject: Fix incorrect var unset in parse_user_info --- src/plugins/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 7715a6b..b5948d2 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -1945,7 +1945,7 @@ namespace QuickMedia { event_user_info.display_name = std::nullopt; if(!update_avatar_url) - event_user_info.display_name = std::nullopt; + event_user_info.avatar_url = std::nullopt; if(update_display_name || update_avatar_url) { if(is_new_user) { -- cgit v1.2.3