fix: Stop embedding prev_content during event creation

This commit is contained in:
timedout authored and Ellis Git committed 2026-10-06 02:34:10 +00:00
1 parent ae2e71ff45
commit 0224a558b3
1 file changed
-5
-5
View File
@@ -183,11 +183,6 @@ impl super::Service {
.room_state_get(room_id, &event_type.clone().to_string().into(), state_key)
.await
{
unsigned.insert("prev_content".to_owned(), prev_pdu.get_content_as_value());
unsigned.insert(
"prev_sender".to_owned(),
serde_json::to_value(prev_pdu.sender())?,
);
unsigned.insert(
"replaces_state".to_owned(),
serde_json::to_value(prev_pdu.event_id())?,