From 938d219d7d549f0cca33337158bbf203f39e6c9d Mon Sep 17 00:00:00 2001 From: alemi Date: Tue, 30 Apr 2024 15:33:41 +0200 Subject: [PATCH] fix: whoops other way around --- src/server/inbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/inbox.rs b/src/server/inbox.rs index 8b6eb904..b4bd4198 100644 --- a/src/server/inbox.rs +++ b/src/server/inbox.rs @@ -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 // 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); return Ok(()) }