fix(v12): Create tombstone event on room upgrade

This commit is contained in:
Jade Ellis
2025-09-23 21:46:07 +01:00
parent 1887d58df8
commit ef84e1bb02
2 changed files with 54 additions and 8 deletions
-2
View File
@@ -274,8 +274,6 @@ pub async fn create_hash_and_sign_event(
pdu_json.insert("event_id".into(), CanonicalJsonValue::String(pdu.event_id.clone().into()));
// Check with the policy server
// TODO(hydra): Skip this check for create events (why didnt we do this
// already?)
if room_id.is_some() {
trace!(
"Checking event {} in room {} with policy server",