diff options
author | Mario <mario@mariovavti.com> | 2023-02-22 17:07:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-02-22 17:07:53 +0000 |
commit | 656400b4186a3d6529d47765d5101b7d2f982087 (patch) | |
tree | f6717929b787204473aee76fd9f17ad6cd489a1c | |
parent | ca7bd4996403fac432f1594d8552c727c44b360a (diff) | |
download | volse-hubzilla-656400b4186a3d6529d47765d5101b7d2f982087.tar.gz volse-hubzilla-656400b4186a3d6529d47765d5101b7d2f982087.tar.bz2 volse-hubzilla-656400b4186a3d6529d47765d5101b7d2f982087.zip |
look for owner instead of author - this way we will also catch the via posts
-rw-r--r-- | Zotlabs/Widget/Messages.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |