mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-30 18:42:05 +00:00
fix(hydra): Don't serialise null room IDs in PDUs
This commit is contained in:
parent
fa460fe97c
commit
a27659c73f
2 changed files with 1 additions and 1 deletions
|
@ -31,6 +31,7 @@ use crate::Result;
|
|||
pub struct Pdu {
|
||||
pub event_id: OwnedEventId,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub room_id: Option<OwnedRoomId>,
|
||||
|
||||
pub sender: OwnedUserId,
|
||||
|
|
|
@ -7,7 +7,6 @@ use conduwuit_core::{
|
|||
event::Event,
|
||||
pdu::{PduCount, PduId, RawPduId},
|
||||
},
|
||||
trace,
|
||||
utils::{IterStream, ReadyExt},
|
||||
validated, warn,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue