- {:ok, _activity} = ActivityPub.follow(other_user, user)
-
- user = User.get_cached_by_id(user.id)
- other_user = User.get_cached_by_id(other_user.id)
+ {:ok, _, _, _activity} = CommonAPI.follow(other_user, user)
+ {:ok, other_user} = User.follow(other_user, user, :follow_pending)