mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 01:30:46 +03:00
Fix avatar change rendering
This commit is contained in:
parent
b39ffc2f1a
commit
20f17aaa36
1 changed files with 3 additions and 1 deletions
|
@ -736,7 +736,9 @@ TimelineModel::data(const mtx::events::collections::TimelineEvents &event, int r
|
|||
.arg(displayName(QString::fromStdString(e.sender)))
|
||||
.arg(QStringLiteral("<img height=\"32\" src=\"%1\">")
|
||||
.arg(QUrl::toPercentEncoding(
|
||||
QString::fromStdString(e.content.url))));
|
||||
QString::fromStdString(e.content.url)
|
||||
.replace("mxc://", "image://MxcImage/"),
|
||||
":/")));
|
||||
else
|
||||
return tr("%1 removed the room avatar.")
|
||||
.arg(displayName(QString::fromStdString(e.sender)));
|
||||
|
|
Loading…
Reference in a new issue