mirror of
https://github.com/markqvist/Sideband.git
synced 2024-12-28 00:49:32 -05:00
Improved notification logic on desktop
This commit is contained in:
parent
015b902150
commit
cd90945b56
@ -1161,8 +1161,9 @@ 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 self.gui_display() == "conversations_screen" and self.gui_foreground():
|
if RNS.vendor.platformutils.is_android():
|
||||||
should_notify = False
|
if self.gui_display() == "conversations_screen" and self.gui_foreground():
|
||||||
|
should_notify = False
|
||||||
|
|
||||||
if self.is_client:
|
if self.is_client:
|
||||||
should_notify = False
|
should_notify = False
|
||||||
|
Loading…
Reference in New Issue
Block a user