Skip to main content

Module fed_edus

Module fed_edus 

Source
Expand description

Ephemeral data units between servers: typing, read receipts, device-list updates. (Presence is not carried: this server has none, and an incoming m.presence is accepted and dropped.) Outgoing ones go through the federation outbox like any other item; incoming ones are applied only for users of the sending server who are members of a room here.

Functions§

apply_inbound
Apply one incoming EDU from origin. Returns the local users to wake.
device_list_stream
The newest device-list change of a user (0 when there is none).
enqueue_device_list
A local user’s devices or keys changed: tell every server that shares a room with them.
enqueue_presence
A local user’s presence, to every server that shares a room with them.
enqueue_receipt
A local user’s read receipt in a room that has remote members.
enqueue_typing
A local user’s typing state in a room that has remote members.