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 4 years ago
There is no API to access details about the DND state in macOS. It may change with macOS 12.
Wojciech Kapcia 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.