Support redirecting by activity UUID in static FE as well.
[akkoma] / lib / pleroma / following_relationship.ex
index 0d789b5a668f28c2f19848f65d6a4a71c1a2ef68..2ffac17ee135667774c0cd64f110d6425fc81706 100644 (file)
@@ -101,7 +101,7 @@ defmodule Pleroma.FollowingRelationship do
       |> select([r, u], u.follower_address)
       |> Repo.all()
 
-    if user.nickname in [nil, "internal.fetch"] do
+    if not user.local or user.nickname in [nil, "internal.fetch"] do
       following
     else
       [user.follower_address | following]