aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Sse_bs.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-02-25 21:36:34 +0000
committerMario <mario@mariovavti.com>2024-02-25 21:36:34 +0000
commitc639704f3c1a34bdd8bccd0e6ce37f3eef3921d7 (patch)
tree184990c0fc6db82a0c5e89214bf7ef077ad8b980 /Zotlabs/Module/Sse_bs.php
parent3dd739424718596b94f5a61d2015388db2491999 (diff)
downloadvolse-hubzilla-c639704f3c1a34bdd8bccd0e6ce37f3eef3921d7.tar.gz
volse-hubzilla-c639704f3c1a34bdd8bccd0e6ce37f3eef3921d7.tar.bz2
volse-hubzilla-c639704f3c1a34bdd8bccd0e6ce37f3eef3921d7.zip
more streams compatibility
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r--Zotlabs/Module/Sse_bs.php21
1 files changed, 10 insertions, 11 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php
index 047b7e507..a621f3608 100644
--- a/Zotlabs/Module/Sse_bs.php
+++ b/Zotlabs/Module/Sse_bs.php
@@ -193,8 +193,8 @@ class Sse_bs extends Controller {
$item_normal = item_normal();
- // Filter internal follow activities
- $item_normal .= " AND verb NOT IN ('" . dbesc(ACTIVITY_FOLLOW) . "') ";
+ // Filter internal follow activities and strerams add/remove activities
+ $item_normal .= " AND verb NOT IN ('Add', 'Remove', '" . dbesc(ACTIVITY_FOLLOW) . "') ";
if ($notifications) {
$items = q("SELECT * FROM item
@@ -276,8 +276,8 @@ class Sse_bs extends Controller {
$item_normal = item_normal();
- // Filter internal follow activities
- $item_normal .= " AND verb NOT IN ('" . dbesc(ACTIVITY_FOLLOW) . "') ";
+ // Filter internal follow activities and strerams add/remove activities
+ $item_normal .= " AND verb NOT IN ('Add', 'Remove', '" . dbesc(ACTIVITY_FOLLOW) . "') ";
if ($notifications) {
$items = q("SELECT * FROM item
@@ -359,8 +359,8 @@ class Sse_bs extends Controller {
$item_normal = item_normal();
- // Filter internal follow activities
- $item_normal .= " AND verb NOT IN ('" . dbesc(ACTIVITY_FOLLOW) . "') ";
+ // Filter internal follow activities and strerams add/remove activities
+ $item_normal .= " AND verb NOT IN ('Add', 'Remove', '" . dbesc(ACTIVITY_FOLLOW) . "') ";
if ($notifications) {
$items = q("SELECT * FROM item
@@ -466,8 +466,8 @@ class Sse_bs extends Controller {
$item_normal = item_normal();
- // Filter internal follow activities
- $item_normal .= " AND verb NOT IN ('" . dbesc(ACTIVITY_FOLLOW) . "') ";
+ // Filter internal follow activities and strerams add/remove activities
+ $item_normal .= " AND verb NOT IN ('Add', 'Remove', '" . dbesc(ACTIVITY_FOLLOW) . "') ";
if ($notifications) {
$items = q("SELECT * FROM item
@@ -662,9 +662,8 @@ class Sse_bs extends Controller {
$item_normal = item_normal();
- // Filter internal follow activities
- $item_normal .= " AND verb NOT IN ('" . dbesc(ACTIVITY_FOLLOW) . "') ";
-
+ // Filter internal follow activities and strerams add/remove activities
+ $item_normal .= " AND verb NOT IN ('Add', 'Remove', '" . dbesc(ACTIVITY_FOLLOW) . "') ";
$r = q("SELECT * FROM item
WHERE (verb = 'Create' OR verb = '%s')