more bugs fixed

This commit is contained in:
Ghostie 2025-01-08 21:28:46 -05:00
parent 48ec8c874f
commit 1de2b23b5d

View File

@ -374,7 +374,7 @@ class APOutboxController extends Controller
{
foreach ($request ["mentions"] as $mention)
{
$mention_exists = NoteMention::where ("note_id", $note->id)->where ("object", $mention ["href"])->first ();
$mention_exists = NoteMention::where ("note_id", $note->id)->where ("actor_id", $mention ["href"])->first ();
if ($mention_exists)
continue;