mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-25 11:01:11 +00:00
Don't log server list in deliver many
This commit is contained in:
parent
a0afa3f3fa
commit
373072c482
1 changed files with 0 additions and 9 deletions
|
@ -14,16 +14,7 @@ pub(crate) struct DeliverMany {
|
||||||
|
|
||||||
impl std::fmt::Debug for DeliverMany {
|
impl std::fmt::Debug for DeliverMany {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
let to = format!(
|
|
||||||
"[{}]",
|
|
||||||
self.to
|
|
||||||
.iter()
|
|
||||||
.map(|u| u.to_string())
|
|
||||||
.collect::<Vec<_>>()
|
|
||||||
.join(", ")
|
|
||||||
);
|
|
||||||
f.debug_struct("DeliverMany")
|
f.debug_struct("DeliverMany")
|
||||||
.field("to", &to)
|
|
||||||
.field("activity", &self.data["type"])
|
.field("activity", &self.data["type"])
|
||||||
.field("object", &self.data["object"]["type"])
|
.field("object", &self.data["object"]["type"])
|
||||||
.finish()
|
.finish()
|
||||||
|
|
Loading…
Reference in a new issue