Skip to main content

calculate_heroes

Function calculate_heroes 

Source
pub async fn calculate_heroes(
    services: &Services,
    room_id: &RoomId,
    sender_user: &UserId,
) -> Vec<OwnedUserId>
Expand description

Selects up to five room members for the room summary.

The requesting user and members excluded by the hero filter are omitted.