fix: whoops other way around

This commit is contained in:
əlemi 2024-04-30 15:33:41 +02:00
parent 85d0a9e69d
commit 938d219d7d
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -320,7 +320,7 @@ impl apb::server::Inbox for Context {
// relays send us activities as Announce, but we don't really want to count those towards the // relays send us activities as Announce, but we don't really want to count those towards the
// total shares count of an object, so just fetch the object and be done with it // total shares count of an object, so just fetch the object and be done with it
if !self.is_relay(&activity_model.actor) { if self.is_relay(&activity_model.actor) {
tracing::info!("relay {} broadcasted {}", activity_model.actor, oid); tracing::info!("relay {} broadcasted {}", activity_model.actor, oid);
return Ok(()) return Ok(())
} }