refactor: Rename PduBuilder to PartialPdu

This commit is contained in:
Ginger committed 2026-04-22 09:36:37 -04:00
1 parent a68ef84004
commit 5a4006d4a8
27 files changed
+95 -95

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ use axum::extract::State;
use axum_client_ip::InsecureClientIp;
use conduwuit::{
Err, Result, err,
matrix::{Event, pdu::PduBuilder},
matrix::{Event, pdu::PartialPdu},
utils::BoolExt,
};
use conduwuit_service::Services;
@@ -204,7 +204,7 @@ async fn send_state_event_for_key_helper(
.rooms
.timeline
.build_and_append_pdu(
PduBuilder {
PartialPdu {
event_type: event_type.to_string().into(),
content: serde_json::from_str(json.json().get())?,
state_key: Some(state_key.into()),