Streamer: Fix Marker streaming bug, fix caching in tests.

This commit is contained in:
Lain Soykaf 2026-01-08 14:06:24 +04:00 committed by Henry Jameson
commit 033083d1d1
2 changed files with 7 additions and 2 deletions

View file

@ -300,7 +300,7 @@ defmodule Pleroma.Web.Streamer do
end)
end
defp do_stream("user", item) do
defp do_stream("user", %Activity{} = item) do
Logger.debug("Trying to push to users")
recipient_topics =

View file

@ -19,7 +19,12 @@ defmodule Pleroma.Web.StreamerTest do
@moduletag needs_streamer: true, capture_log: true
setup do: clear_config([:instance, :skip_thread_containment])
setup do
clear_config([:instance, :skip_thread_containment])
Mox.stub_with(Pleroma.CachexMock, Pleroma.NullCache)
:ok
end
describe "get_topic/_ (unauthenticated)" do
test "allows no stream" do