mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-08-28 22:58:31 +00:00
fix: Default PDU content to empty object instead of literal NULL
This commit is contained in:
@@ -62,7 +62,7 @@ impl Default for PartialPdu {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
event_type: "m.room.message".into(),
|
||||
content: Box::<RawJsonValue>::default(),
|
||||
content: to_raw_value("{}").unwrap(),
|
||||
unsigned: None,
|
||||
state_key: None,
|
||||
redacts: None,
|
||||
|
||||
Reference in New Issue
Block a user