Skip to content
Snippets Groups Projects
Commit 07cdd9ed authored by kaniini's avatar kaniini
Browse files

streamer: use the preloaded object if possible

parent c62220c5
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ defmodule Pleroma.Web.Streamer do
mutes = user.info.mutes || []
reblog_mutes = user.info.muted_reblogs || []
parent = Object.normalize(item.data["object"])
parent = Object.normalize(item)
unless is_nil(parent) or item.actor in blocks or item.actor in mutes or
item.actor in reblog_mutes or not ActivityPub.contain_activity(item, user) or
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment