mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-26 20:26:36 +02:00
Kick up a fuss when m.room.create is unfindable
This commit is contained in:
parent
bc1f567d68
commit
f49bc6096a
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ use super::{
|
|||
},
|
||||
room_version::RoomVersion,
|
||||
};
|
||||
use crate::{debug, error, trace, warn};
|
||||
use crate::{debug, err_log, error, trace, warn};
|
||||
|
||||
// FIXME: field extracting could be bundled for `content`
|
||||
#[derive(Deserialize)]
|
||||
|
@ -251,7 +251,7 @@ where
|
|||
|
||||
let room_create_event = match room_create_event {
|
||||
| None => {
|
||||
warn!("no m.room.create event in auth chain");
|
||||
error!("no m.room.create event in auth chain for {}!", incoming_event.event_id());
|
||||
return Ok(false);
|
||||
},
|
||||
| Some(e) => e,
|
||||
|
|
|
@ -746,7 +746,7 @@ where
|
|||
}
|
||||
}
|
||||
}
|
||||
// Did not find a power level event so we default to zero
|
||||
warn!("could not find a power event in the mainline map, defaulting to zero depth");
|
||||
Ok(0)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue