From 656400b4186a3d6529d47765d5101b7d2f982087 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 22 Feb 2023 17:07:53 +0000 Subject: look for owner instead of author - this way we will also catch the via posts --- Zotlabs/Widget/Messages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Widget') diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index a37a178f9..0a8900c4f 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -82,7 +82,7 @@ class Messages { } if($author) { - $author_sql = " AND i.author_xchan = '" . protect_sprintf(dbesc($author)) . "' "; + $author_sql = " AND i.owner_xchan = '" . protect_sprintf(dbesc($author)) . "' "; } switch($type) { -- cgit v1.2.3