aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-10-25 12:15:00 +0200
committerdec05eba <dec05eba@protonmail.com>2022-10-25 12:15:00 +0200
commit506b58f0322716bc33b2fea2760f17a9fc559271 (patch)
tree56d1ea08a8783b230b6da79f137fb5c425851889
parentba1a3a9fd779e2f403df3a6234370529a511c6ff (diff)
Fix incorrect var unset in parse_user_info
-rw-r--r--src/plugins/Matrix.cpp2
1 files changed, 1 insertions, 1 deletions
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) {