diff options
author | Mario <mario@mariovavti.com> | 2020-04-24 14:25:49 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-04-24 14:25:49 +0000 |
commit | e2b10f52e02c4cee77af089a544ec55e62048aba (patch) | |
tree | 34e8be162dc5e57ce94cdd65820de0dfd33dec63 /Zotlabs/Module/Sse_bs.php | |
parent | 2b8afd55800754aeb158d77940777ecc2c119d37 (diff) | |
download | volse-hubzilla-e2b10f52e02c4cee77af089a544ec55e62048aba.tar.gz volse-hubzilla-e2b10f52e02c4cee77af089a544ec55e62048aba.tar.bz2 volse-hubzilla-e2b10f52e02c4cee77af089a544ec55e62048aba.zip |
more work on deprecating ACTIVITY_OBJ_FILE and adapt mod sharedwithme
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r-- | Zotlabs/Module/Sse_bs.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php index 290c616a9..cb4c54961 100644 --- a/Zotlabs/Module/Sse_bs.php +++ b/Zotlabs/Module/Sse_bs.php @@ -453,11 +453,12 @@ class Sse_bs extends Controller { $r = q("SELECT * FROM item WHERE verb = '%s' - AND obj_type in ('Document', 'Video', 'Audio', 'Image') + AND obj_type IN ('Document', 'Video', 'Audio', 'Image') AND uid = %d AND author_xchan != '%s' AND item_unseen = 1 - $item_normal", + $item_normal + ORDER BY created DESC", dbesc(ACTIVITY_POST), intval(self::$uid), dbesc(self::$ob_hash) |