Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No dnd off if manually activated #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

F-i-f
Copy link

@F-i-f F-i-f commented Dec 4, 2024

If a user already has DND activated before a screen share or recording starts, do not turn it off when the session ends.

Note that this trivially conflicts with PR #3.

F-i-f added 2 commits December 4, 2024 10:44
Clarify these are not the extension's settings/schema ID, but the
desktop settings/schema ID for notifications (Do Not Disturb).
If the user already has Do Not Disturb active upon entering a screen sharing
or recording session, do not turn it off when it ends.
Use a setting to persist the DND state upon entering a screen sharing or
recording session: a private class member would have lost the state upon
a shell restart or the extension being disabled and reenabled.
@marcinjahn
Copy link
Owner

Hmm, interesting, I actually thought about adding that behavior originally, but I must have forgotten 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants