other_user = insert(:user)
{:ok, _activity} = ActivityPub.follow(other_user, user)
other_user = insert(:user)
{:ok, _activity} = ActivityPub.follow(other_user, user)
- {:ok, other_user} = User.follow(other_user, user, "pending")
+ {:ok, other_user} = User.follow(other_user, user, :follow_pending)
assert User.following?(other_user, user) == false
conn = get(conn, "/api/v1/follow_requests")
assert User.following?(other_user, user) == false
conn = get(conn, "/api/v1/follow_requests")
other_user = insert(:user)
{:ok, _activity} = ActivityPub.follow(other_user, user)
other_user = insert(:user)
{:ok, _activity} = ActivityPub.follow(other_user, user)
- {:ok, other_user} = User.follow(other_user, user, "pending")
+ {:ok, other_user} = User.follow(other_user, user, :follow_pending)