Skip to content

Commit

Permalink
invert bool
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Dec 11, 2024
1 parent bbad3d3 commit 5418895
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions notification-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
if notifications_granted_by_system:
if not profile_muted:
if chat_muted:
if not chat_muted:
DO_NOTIFY()
else:
if is_reaction || is_reply_to_own || is_webxdc_mention:
if is_group:
if mentions_enabled:
DO_NOTIFY()
else:
DO_NOTIFY()
// in all other cases: do not notify
// in case the chat/app being notified is in scope, depending on UI, notification may be skipped
Expand Down

0 comments on commit 5418895

Please sign in to comment.