Skip to main content

Module priority_contacts

Module priority_contacts 

Expand description

The priority-contacts projection an address book publishes to the Tilo shell, which lets those people through Do Not Disturb.

With the priority-contacts feature on Unix, publish replaces the shell’s list over the session bus’s notification service; the shell independently verifies the sender’s process ancestry before accepting it. Elsewhere publishing does nothing.

Constants§

SUPPORTED
Whether publish reaches the shell in this build.

Functions§

publish
Replace the shell’s priority contacts with projection, sorted by id, unless the shell already accepted exactly this list. Never blocks: the latest list is handed to a background publisher and retried on the next call when the shell did not accept it.

Type Aliases§

PriorityContact
One priority contact: stable id, display name, and the email addresses and phone numbers that identify them.