mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
thread visibility function: fix use of no longer used author variable
This commit is contained in:
parent
a591ab6112
commit
f3971cbde3
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ defmodule Pleroma.Repo.Migrations.AddThreadVisibilityFunction do
|
||||||
WHERE COALESCE(activity.data->'object'->>'id', activity.data->>'object') = objects.data->>'id';
|
WHERE COALESCE(activity.data->'object'->>'id', activity.data->>'object') = objects.data->>'id';
|
||||||
|
|
||||||
--- Fetch the author's AS2 following collection.
|
--- Fetch the author's AS2 following collection.
|
||||||
SELECT COALESCE(author.follower_address, '') INTO author_fa FROM users WHERE users.ap_id = activity.actor;
|
SELECT COALESCE(users.follower_address, '') INTO author_fa FROM users WHERE users.ap_id = activity.actor;
|
||||||
|
|
||||||
--- Prepare valid recipients array.
|
--- Prepare valid recipients array.
|
||||||
valid_recipients := ARRAY[actor, public];
|
valid_recipients := ARRAY[actor, public];
|
||||||
|
|
Loading…
Reference in a new issue