pub(crate) async fn annotate_membership(
services: &Services,
pdu: &mut PduEvent,
user_id: &UserId,
encrypted: bool,
)Expand description
MSC4115: stamp unsigned.membership on a served PDU with the requesting
user’s membership at the time of the event. The MSC permits omitting the
property when calculating it is expensive, so the project restricts it to
encrypted rooms where membership-vs-event ordering matters for key share.