fix lossy origin regression 12a8c9badd

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-09 02:09:25 -07:00 committed by June
parent 458e56818c
commit 2cc72de80e
3 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,8 @@ pub struct PduEvent {
pub event_id: Arc<EventId>,
pub room_id: OwnedRoomId,
pub sender: OwnedUserId,
#[serde(skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
pub origin_server_ts: UInt,
#[serde(rename = "type")]
pub kind: TimelineEventType,