As in the subject. We already set to away if the device is locked/suspended so it would be nice and logical to follow DND status of the operating system as well.
Andrzej Wójcik (Tigase) commented 3 years ago
There is no API to access details about the DND state in macOS. It may change with macOS 12.
wojciech.kapcia@tigase.net commented 2 years ago
Currently there is "focus" which exposes it's status. Maybe we could use this?
As in the subject. We already set to away if the device is locked/suspended so it would be nice and logical to follow DND status of the operating system as well.