Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(base): Implement
Room::direct_targets_length
.
This patch implements `Room::direct_targets_length`. It avoids to call `Room::is_direct` if and only if we don't care about the room's state and we don't want an async call, and if we don't want to pay the cost of `Room::direct_targets` which clones the `HashSet` as an alternative way to get a similar information than `Room::is_direct`.
- Loading branch information