Fix one mixup in rebase.

remove_settings_and_secret_singletons
Dessalines 2021-09-25 12:04:43 -04:00
parent d6b87dd687
commit 63b3f096e9
1 changed files with 1 additions and 7 deletions

View File

@ -82,13 +82,7 @@ pub async fn collect_non_local_mentions(
for mention in &mentions {
// TODO should it be fetching it every time?
if let Ok(actor_id) = fetch_webfinger_url(
mention,
context.client(),
context.settings().get_protocol_string(),
)
.await
{
if let Ok(actor_id) = fetch_webfinger_url(mention, context).await {
let actor_id: ObjectId<Person> = ObjectId::new(actor_id);
debug!("mention actor_id: {}", actor_id);
addressed_ccs.push(actor_id.to_owned().to_string().parse()?);