fn build_presence_events( presence_updates: Option<HashMap<OwnedUserId, PresenceEventContent>>, ) -> Vec<Raw<PresenceEvent>>