aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-20 04:56:06 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-20 04:56:06 +0200
commitf126659965425ee5f5a3851fbe83ae532e48c478 (patch)
treef0cf67063efb7d9ceb289d5a90a53cedca481ebb /src/QuickMedia.cpp
parent6a2b5008be8104680826fe40fa8e674e9357c044 (diff)
Cache video to temporary file instead of memory
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index c47147f..cde8cdb 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -2983,7 +2983,7 @@ namespace QuickMedia {
room->has_unread_mention = true;
//message->mentions_me = false;
// TODO: What if the message or username begins with "-"? also make the notification image be the avatar of the user
- if(!is_window_focused || room != current_room)
+ if(!is_window_focused || room != current_room || is_first_sync)
show_notification("QuickMedia matrix - " + matrix->message_get_author_displayname(message.get()) + " (" + room->name + ")", message->body);
}
}