mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
refactor: Fixed logical condition for evil events
This commit is contained in:
parent
060d88ff24
commit
f2a9080ba7
1 changed files with 1 additions and 1 deletions
|
@ -1095,7 +1095,7 @@ fn get_missing_events(
|
||||||
|
|
||||||
match event_room_id {
|
match event_room_id {
|
||||||
Some(event_room_id) => {
|
Some(event_room_id) => {
|
||||||
let valid_event = event_room_id != room_id;
|
let valid_event = event_room_id == room_id;
|
||||||
if !valid_event {
|
if !valid_event {
|
||||||
error!(?room_id, ?event_room_id, "An evil event detected");
|
error!(?room_id, ?event_room_id, "An evil event detected");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue