Don't read avatarUrl from local profile, if no global avatar is set
This commit is contained in:
parent
7d5e82c888
commit
e6878ee298
3 changed files with 12 additions and 11 deletions
|
|
@ -2479,7 +2479,8 @@ Cache::getMember(const std::string &room_id, const std::string &user_id)
|
|||
return m;
|
||||
}
|
||||
} catch (std::exception &e) {
|
||||
nhlog::db()->warn("Failed to read member ({}): {}", user_id, e.what());
|
||||
nhlog::db()->warn(
|
||||
"Failed to read member ({}) in room ({}): {}", user_id, room_id, e.what());
|
||||
}
|
||||
return std::nullopt;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue