Fix bug in whitelist implementation

pull/722/head
Felix 2020-04-18 17:17:25 +02:00
parent b1b97db11a
commit a49bd1d42a
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ where
let json = serde_json::to_string(&activity)?;
debug!("Sending activitypub activity {} to {:?}", json, to);
for t in to {
if is_apub_id_valid(&t) {
if !is_apub_id_valid(&t) {
debug!("Not sending activity to {} (invalid or blacklisted)", t);
continue;
}