dedub array first

This commit is contained in:
April John 2024-11-22 22:09:58 +01:00
parent d275165b97
commit bf2377a68d

View file

@ -115,6 +115,9 @@ async fn federate_inbox(note: crate::entities::post::Model) -> anyhow::Result<()
array.append(&mut list_url);
array.sort();
array.dedup();
let req_client = request_client();
for inbox in array {
let push = req_client.post(inbox)