mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-10 06:54:12 +00:00
Addressing a few comments.
This commit is contained in:
parent
e9ce14069e
commit
7fbad900d7
2 changed files with 4 additions and 5 deletions
|
@ -146,7 +146,6 @@ where
|
|||
Kind: Serialize,
|
||||
<T as Extends<Kind>>::Error: From<serde_json::Error> + Send + Sync + 'static,
|
||||
{
|
||||
dbg!(&mentions, &activity.id_unchecked());
|
||||
debug!(
|
||||
"Sending mentions activity {:?} to {:?}",
|
||||
&activity.id_unchecked(),
|
||||
|
@ -191,7 +190,7 @@ where
|
|||
}
|
||||
|
||||
for to_url in &to {
|
||||
assert!(check_is_apub_id_valid(&to_url).is_ok());
|
||||
check_is_apub_id_valid(&to_url)?;
|
||||
}
|
||||
|
||||
let activity = activity.into_any_base()?;
|
||||
|
|
|
@ -20,7 +20,7 @@ use lemmy_db::{
|
|||
use lemmy_structs::blocking;
|
||||
use lemmy_utils::{location_info, LemmyError};
|
||||
use lemmy_websocket::LemmyContext;
|
||||
use log::debug;
|
||||
use log::info;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::fmt::Debug;
|
||||
|
||||
|
@ -57,7 +57,7 @@ pub async fn community_inbox(
|
|||
.into(),
|
||||
);
|
||||
}
|
||||
debug!(
|
||||
info!(
|
||||
"Community {} received activity {:?}",
|
||||
&community.name, &activity
|
||||
);
|
||||
|
@ -65,7 +65,7 @@ pub async fn community_inbox(
|
|||
.actor()?
|
||||
.as_single_xsd_any_uri()
|
||||
.context(location_info!())?;
|
||||
debug!(
|
||||
info!(
|
||||
"Community {} inbox received activity {:?} from {}",
|
||||
community.name,
|
||||
&activity.id_unchecked(),
|
||||
|
|
Loading…
Reference in a new issue