summary refs log tree commit diff
path: root/src/notifications/ManagerLinux.cpp
diff options
context:
space:
mode:
authorNep Nep <nepnep91@protonmail.com>2023-12-17 21:35:01 -0300
committerGitHub <noreply@github.com>2023-12-17 21:35:01 -0300
commit7dbad2c648b4f698b8a953cf8b8d10c9dfe968fb (patch)
tree97c9db3b6919800670ddc54a20986c6744aaf2be /src/notifications/ManagerLinux.cpp
parentMultiple changes (diff)
parentMerge pull request #1640 from q234rty/fix-slow-new-window-plasma-6 (diff)
downloadnheko-7dbad2c648b4f698b8a953cf8b8d10c9dfe968fb.tar.xz
Merge branch 'Nheko-Reborn:master' into ignore-command
Diffstat (limited to 'src/notifications/ManagerLinux.cpp')
-rw-r--r--src/notifications/ManagerLinux.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp

index b181fdc3..11a7c1a1 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp
@@ -114,7 +114,8 @@ NotificationsManager::postNotification(const mtx::responses::Notification &notif if (hasMarkup_) { if (hasImages_ && - mtx::accessors::msg_type(notification.event) == mtx::events::MessageType::Image) { + (mtx::accessors::msg_type(notification.event) == mtx::events::MessageType::Image || + mtx::accessors::msg_type(notification.event) == mtx::events::MessageType::Image)) { MxcImageProvider::download( QString::fromStdString(mtx::accessors::url(notification.event)) .remove(QStringLiteral("mxc://")),