Browse Source

Fix elixir 1.8 vs 1.7 format conflict

tags/v1.1.4
Karen Konou 5 years ago
parent
commit
aa71139e4a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      lib/pleroma/web/streamer.ex

+ 1
- 2
lib/pleroma/web/streamer.ex View File

@@ -204,8 +204,7 @@ defmodule Pleroma.Web.Streamer do
parent = Object.normalize(item.data["object"])

unless is_nil(parent) or item.actor in blocks or item.actor in mutes or
not ActivityPub.contain_activity(item, user) or
parent.data["actor"] in blocks or
not ActivityPub.contain_activity(item, user) or parent.data["actor"] in blocks or
parent.data["actor"] in mutes do
send(socket.transport_pid, {:text, represent_update(item, user)})
end


Loading…
Cancel
Save