Improved notification logic on desktop

This commit is contained in:
Mark Qvist 2022-10-07 01:24:16 +02:00
parent 015b902150
commit cd90945b56

View File

@ -1161,6 +1161,7 @@ class SidebandCore():
self.unread_conversation(context_dest) self.unread_conversation(context_dest)
self.setstate("app.flags.unread_conversations", True) self.setstate("app.flags.unread_conversations", True)
if RNS.vendor.platformutils.is_android():
if self.gui_display() == "conversations_screen" and self.gui_foreground(): if self.gui_display() == "conversations_screen" and self.gui_foreground():
should_notify = False should_notify = False