fix: HEAD requests should produce METHOD_NOT_ALLOWED
This commit is contained in:
parent
2231a69b4c
commit
7c98ba64aa
3 changed files with 15 additions and 16 deletions
|
@ -905,7 +905,7 @@ async fn sync_helper(
|
|||
let leave_shortstatekey = services()
|
||||
.rooms
|
||||
.short
|
||||
.get_or_create_shortstatekey(&StateEventType::RoomMember, &sender_user.as_str())?;
|
||||
.get_or_create_shortstatekey(&StateEventType::RoomMember, sender_user.as_str())?;
|
||||
|
||||
left_state_ids.insert(leave_shortstatekey, left_event_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue