Function fractal::utils::matrix::find_at_room
source ยท pub fn find_at_room(s: &str) -> Option<usize>
Expand description
Find @room
in the given string.
This uses the same algorithm as the pushrules from the Matrix spec to detect
it in the body
.
Returns the position of the first match.