Chat: Add views, don't return them in timeline queries.
This commit is contained in:
parent
44bfb491ea
commit
6ace22b56a
9 changed files with 207 additions and 38 deletions
|
|
@ -51,6 +51,9 @@ defmodule Pleroma.Web.MastodonAPI.TimelineControllerTest do
|
|||
{:ok, activity} = CommonAPI.post(third_user, %{"status" => "repeated post"})
|
||||
{:ok, _, _} = CommonAPI.repeat(activity.id, following)
|
||||
|
||||
# This one should not show up in the TL
|
||||
{:ok, _activity} = CommonAPI.post_chat_message(third_user, user, ":gun:")
|
||||
|
||||
ret_conn = get(conn, uri)
|
||||
|
||||
assert Enum.empty?(json_response(ret_conn, :ok))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue