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

Add the ability to show as “busy” with apple’s new Focus API #4908

Open
ShadowJonathan opened this issue Sep 24, 2021 · 0 comments
Open

Comments

@ShadowJonathan
Copy link
Contributor

https://developer.apple.com/forums/thread/682143

Focus modes can enable its "share focus status", or, very crudely, allow apps to read and get notified when focus mode is enabled, and the person may not get messages.

The above api allows for both reading upon authorisation, and getting an intent fired whenever focus status changes.

This can be ideal for sharing DnD status over matrix, via presence, with MSC3026 (or likewise), to announce such a presence automatically. A setting to automatically pick up on it via system settings and submit that status to a matrix server.

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

No branches or pull requests

1 participant