mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-27 02:47:33 +00:00
fix: Invert server identity check
This commit is contained in:
1 file changed
+1
-1
@@ -193,7 +193,7 @@ async fn knock_room_by_id_helper(
|
||||
.server_in_room(services.globals.server_name(), room_id)
|
||||
.await;
|
||||
|
||||
if !server_in_room && !servers.iter().any(|sn| services.globals.server_is_ours(sn)) {
|
||||
if !server_in_room && !servers.iter().any(|sn| !services.globals.server_is_ours(sn)) {
|
||||
return Err!(Request(NotFound(
|
||||
"Room {room_id} not found and no remote servers were provided to discover it"
|
||||
)));
|
||||
|
||||
Reference in new issue
Block a user