|
|
|
@ -1003,7 +1003,7 @@ impl Rooms { |
|
|
|
.and_then(|string| { |
|
|
|
.and_then(|string| { |
|
|
|
UserId::parse_with_server_name(string, globals.server_name()).ok() |
|
|
|
UserId::parse_with_server_name(string, globals.server_name()).ok() |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
#[allow(clippy::blocks_in_if_conditions)] |
|
|
|
if bridge_user_id.map_or(false, |bridge_user_id| { |
|
|
|
if bridge_user_id.map_or(false, |bridge_user_id| { |
|
|
|
self.is_joined(&bridge_user_id, room_id).unwrap_or(false) |
|
|
|
self.is_joined(&bridge_user_id, room_id).unwrap_or(false) |
|
|
|
}) || users.iter().any(|users| { |
|
|
|
}) || users.iter().any(|users| { |
|
|
|
|