aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-30 17:49:35 +0200
committergit-marijus <mario@mariovavti.com>2017-07-30 17:49:35 +0200
commit297057d2bdc227a8729e136a290f81012248d033 (patch)
tree6bba9f565635d1773bbefd33aa3c27c5e0636797 /Zotlabs/Module
parent06bd540cfad381621eec84bc6d557c0b716f4aa3 (diff)
downloadvolse-hubzilla-297057d2bdc227a8729e136a290f81012248d033.tar.gz
volse-hubzilla-297057d2bdc227a8729e136a290f81012248d033.tar.bz2
volse-hubzilla-297057d2bdc227a8729e136a290f81012248d033.zip
do not include ACTIVITY_OBJ_FILE obj_type in the ping/something query
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Ping.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php
index bf926075c..190208727 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -291,9 +291,12 @@ class Ping extends \Zotlabs\Web\Controller {
$r = q("SELECT * FROM item
WHERE item_unseen = 1 and uid = %d $item_normal
- and author_xchan != '%s' ORDER BY created DESC limit 300",
+ AND author_xchan != '%s'
+ AND obj_type != '%s'
+ ORDER BY created DESC limit 300",
intval(local_channel()),
- dbesc($ob_hash)
+ dbesc($ob_hash),
+ dbesc(ACTIVITY_OBJ_FILE)
);
if($r) {