1
0
Fork 0
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:
nexy7574 2025-09-11 17:55:10 +01:00
parent fa460fe97c
commit a27659c73f
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View file

@ -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,

View file

@ -7,7 +7,6 @@ use conduwuit_core::{
event::Event,
pdu::{PduCount, PduId, RawPduId},
},
trace,
utils::{IterStream, ReadyExt},
validated, warn,
};