remove unnecessary tracing of pdu conversions
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
b7a41f283f
commit
da984d49cf
3 changed files with 15 additions and 16 deletions
|
@ -1024,7 +1024,7 @@ impl Service {
|
|||
|
||||
let room_version_id = self.services.state.get_room_version(&pdu.room_id).await?;
|
||||
|
||||
pdu.redact(room_version_id, reason)?;
|
||||
pdu.redact(&room_version_id, reason)?;
|
||||
|
||||
let obj = utils::to_canonical_object(&pdu)
|
||||
.map_err(|e| err!(Database(error!(?event_id, ?e, "Failed to convert PDU to canonical JSON"))))?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue