Procházet zdrojové kódy

formatting

tags/v1.1.4
Karen Konou před 5 roky
rodič
revize
be465c762b
1 změnil soubory, kde provedl 2 přidání a 3 odebrání
  1. +2
    -3
      lib/pleroma/web/streamer.ex

+ 2
- 3
lib/pleroma/web/streamer.ex Zobrazit soubor

@@ -205,9 +205,8 @@ 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
item.actor in reblog_mutes or
not ActivityPub.contain_activity(item, user) or parent.data["actor"] in blocks or
parent.data["actor"] in mutes do
item.actor in reblog_mutes 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
else


Načítá se…
Zrušit
Uložit