From: rinpatch Date: Sun, 7 Jun 2020 20:51:03 +0000 (+0300) Subject: [stable rewrite]: fix streamer streaming out announces from a muted thread X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f10b40828fd5f1e4fc7c4ffa9deb543d6a18eb17;p=akkoma [stable rewrite]: fix streamer streaming out announces from a muted thread Use parent object instead of activity because context is null of Announce activity from Mastodon. --- diff --git a/lib/pleroma/web/streamer/worker.ex b/lib/pleroma/web/streamer/worker.ex index abfed21c8..c669e917d 100644 --- a/lib/pleroma/web/streamer/worker.ex +++ b/lib/pleroma/web/streamer/worker.ex @@ -147,7 +147,7 @@ defmodule Pleroma.Web.Streamer.Worker do false <- Pleroma.Web.ActivityPub.MRF.subdomain_match?(domain_blocks, item_host), false <- Pleroma.Web.ActivityPub.MRF.subdomain_match?(domain_blocks, parent_host), true <- thread_containment(item, user), - false <- CommonAPI.thread_muted?(user, item) do + false <- CommonAPI.thread_muted?(user, parent) do true else _ -> false