Merge branch 'fixhead' into 'next'

fix: HEAD requests should continue to produce METHOD_NOT_ALLOWED

See merge request famedly/conduit!402
This commit is contained in:
Timo Kösters committed 2022-10-30 19:45:58 +00:00
commit c61914c8e1
2 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -904,7 +904,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);