mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
parent
33f534c6f8
commit
de61663e42
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ ChatPage::updateTypingUsers(const QString &roomid, const std::vector<std::string
|
||||||
void
|
void
|
||||||
ChatPage::updateUserAvatarUrl(const mtx::events::StateEvent<mtx::events::state::Member> &membership)
|
ChatPage::updateUserAvatarUrl(const mtx::events::StateEvent<mtx::events::state::Member> &membership)
|
||||||
{
|
{
|
||||||
auto uid = QString::fromStdString(membership.sender);
|
auto uid = QString::fromStdString(membership.state_key);
|
||||||
auto url = QString::fromStdString(membership.content.avatar_url);
|
auto url = QString::fromStdString(membership.content.avatar_url);
|
||||||
|
|
||||||
if (!url.isEmpty())
|
if (!url.isEmpty())
|
||||||
|
|
Loading…
Reference in a new issue