Try to make windows notifications prettier
This commit is contained in:
parent
791cb660b5
commit
4142703990
5 changed files with 35 additions and 12 deletions
|
|
@ -114,7 +114,8 @@ NotificationsManager::postNotification(const mtx::responses::Notification ¬if
|
|||
|
||||
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://")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue