Document follow relationship updates and cleanup

This commit is contained in:
Egor Kislitsyn 2020-12-02 19:16:36 +04:00
commit c9afb350e7
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
5 changed files with 42 additions and 34 deletions

View file

@ -74,9 +74,9 @@ defmodule Pleroma.Web.StreamerView do
|> Jason.encode!()
end
def render("relationships_update.json", item) do
def render("follow_relationships_update.json", item) do
%{
event: "pleroma:relationships_update",
event: "pleroma:follow_relationships_update",
payload:
%{
state: item.state,