diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-04 23:33:00 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-02-04 23:33:00 +0100 |
commit | 1dacf327e1164cd3040407cd25716ac159d0e22e (patch) | |
tree | 08a5a617a396e52e63601ebff2eb663923bd3eb4 /src | |
parent | Show widgets as links (diff) | |
download | nheko-1dacf327e1164cd3040407cd25716ac159d0e22e.tar.xz |
Fix avatar url conversion for widgets
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index d1613d5b..6fc10142 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -2248,7 +2248,7 @@ TimelineModel::widgetLinks() const QStringList list; auto user = utils::localUser(); - auto av = QUrl::toPercentEncoding(avatarUrl(user)); + auto av = QUrl::toPercentEncoding(QString::fromStdString(http::client()->mxc_to_download_url(avatarUrl(user).toStdString()))); auto disp = QUrl::toPercentEncoding(displayName(user)); auto theme = UserSettings::instance()->theme(); if (theme == QStringLiteral("system")) |