refactor: Rename PduBuilder to PartialPdu

This commit is contained in:
Ginger committed 2026-04-13 17:36:01 -04:00
1 parent d1b0e3bda6
commit 45b3158fce
27 files changed
+95 -95

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@ use conduwuit::{
Err, Result, debug, debug_info, debug_warn, err, info,
matrix::{
event::gen_event_id,
pdu::{PduBuilder, PduEvent},
pdu::{PartialPdu, PduEvent},
},
result::FlatOk,
trace,
@@ -354,7 +354,7 @@ async fn knock_room_helper_local(
.rooms
.timeline
.build_and_append_pdu(
PduBuilder::state(sender_user.to_string(), &content),
PartialPdu::state(sender_user.to_string(), &content),
sender_user,
Some(room_id),
&state_lock,