Fix elixir 1.8 vs 1.7 format conflict

This commit is contained in:
Karen Konou 2019-03-09 16:31:53 +01:00
parent fe4c1d26fc
commit aa71139e4a

View file

@ -204,8 +204,7 @@ defmodule Pleroma.Web.Streamer do
parent = Object.normalize(item.data["object"]) parent = Object.normalize(item.data["object"])
unless is_nil(parent) or item.actor in blocks or item.actor in mutes or unless is_nil(parent) or item.actor in blocks or item.actor in mutes or
not ActivityPub.contain_activity(item, user) or not ActivityPub.contain_activity(item, user) or parent.data["actor"] in blocks or
parent.data["actor"] in blocks or
parent.data["actor"] in mutes do parent.data["actor"] in mutes do
send(socket.transport_pid, {:text, represent_update(item, user)}) send(socket.transport_pid, {:text, represent_update(item, user)})
end end