Fix posts being streamed to non-local websocket channels.
[akkoma] / test / user_test.exs
index c06663ed7ced4c417754f104c16eb36fd4171858..8ec23c7514ab0c62d392ec28eec88c77829743a5 100644 (file)
@@ -318,6 +318,7 @@ defmodule Pleroma.UserTest do
     assert [addressed] == User.get_recipients_from_activity(activity)
 
     {:ok, user} = User.follow(user, actor)
+    {:ok, user_two} = User.follow(user_two, actor)
     recipients = User.get_recipients_from_activity(activity)
     assert length(recipients) == 2
     assert user in recipients