Skip to main content

Module presence

Module presence 

Source
Expand description

Presence: PUT/GET /presence/{userId}/status, the sync presence section, and m.presence EDUs between servers.

Optional: the presence cargo feature (default on) and the environment switch M4A_PRESENCE=off. Off, a PUT is accepted and forgotten, a GET says offline, sync carries no presence and no EDU is sent or applied.

Functions§

content_of
The content of one user’s presence (as in m.presence events), if any is known.
create_schema
enabled
set
Record a presence change (own user or a remote one learned by EDU); returns the users to wake.
sync_events
Sync’s presence.events for caller: peers whose presence changed after since_stream.