mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +01:00
Improved notification logic on desktop
This commit is contained in:
parent
015b902150
commit
cd90945b56
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user