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,8 +1161,9 @@ class SidebandCore():
self.unread_conversation(context_dest)
self.setstate("app.flags.unread_conversations", True)
if self.gui_display() == "conversations_screen" and self.gui_foreground():
should_notify = False
if RNS.vendor.platformutils.is_android():
if self.gui_display() == "conversations_screen" and self.gui_foreground():
should_notify = False
if self.is_client:
should_notify = False