mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 00:51:20 +00:00
fix: Stop embedding prev_content during event creation
This commit is contained in:
1 file changed
-5
@@ -183,11 +183,6 @@ pub async fn create_event(
|
||||
.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())?,
|
||||
|
||||
Reference in new issue
Block a user