aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Sse_bs.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-24 14:25:49 +0000
committerMario <mario@mariovavti.com>2020-04-24 14:25:49 +0000
commite2b10f52e02c4cee77af089a544ec55e62048aba (patch)
tree34e8be162dc5e57ce94cdd65820de0dfd33dec63 /Zotlabs/Module/Sse_bs.php
parent2b8afd55800754aeb158d77940777ecc2c119d37 (diff)
downloadvolse-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.php5
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)