Skip to content

Commit

Permalink
Improved notification logic on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Oct 6, 2022
1 parent 015b902 commit cd90945
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sbapp/sideband/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,8 +1161,9 @@ def lxm_ingest(self, message, originator = False):
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
Expand Down

0 comments on commit cd90945

Please sign in to comment.