mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
fix: Default PDU content to empty object instead of literal NULL
This commit is contained in:
1 parent
2e33760575
commit
a5bf0f2bfb
1 file changed
+1
-1
@@ -62,7 +62,7 @@ impl Default for PartialPdu {
|
|||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
event_type: "m.room.message".into(),
|
event_type: "m.room.message".into(),
|
||||||
content: Box::<RawJsonValue>::default(),
|
content: to_raw_value("{}").unwrap(),
|
||||||
unsigned: None,
|
unsigned: None,
|
||||||
state_key: None,
|
state_key: None,
|
||||||
redacts: None,
|
redacts: None,
|
||||||
|
|||||||
Reference in new issue
Block a user