mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-27 13:34:50 +02:00
chore: Error on missing ID in messages
This commit is contained in:
parent
0936ad1fb8
commit
f3dbfb5ad5
1 changed files with 1 additions and 4 deletions
|
@ -143,10 +143,7 @@ pub(crate) async fn get_message_events_route(
|
|||
if let Some(registration) = body.appservice_info.as_ref() {
|
||||
<&DeviceId>::from(registration.registration.id.as_str())
|
||||
} else {
|
||||
panic!(
|
||||
"No device_id provided and no appservice registration found, this \
|
||||
should be unreachable"
|
||||
);
|
||||
panic!("No device_id provided and no appservice registration found, this should be unreachable");
|
||||
},
|
||||
},
|
||||
room_id,
|
||||
|
|
Loading…
Add table
Reference in a new issue