aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-25 19:17:35 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-25 19:17:35 -0700
commit9a0264f5d23f08d8dc9b4484c93f630dd91738b8 (patch)
tree6d6e4eee4bd11adc7f6c6e8b2a6d40ae8003ba2b /include/diaspora.php
parent29a8d580be141ee451e4f5b02870e9fe384e3ed6 (diff)
downloadvolse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.tar.gz
volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.tar.bz2
volse-hubzilla-9a0264f5d23f08d8dc9b4484c93f630dd91738b8.zip
some work on issue #329
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index 9b2e4623a..b532822bf 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -24,8 +24,9 @@ function diaspora_dispatch_public($msg) {
// find everybody following or allowing this author
- $r = q("SELECT * from channel where channel_id in ( SELECT abook_channel from abook left join xchan on abook_xchan = xchan_hash WHERE xchan_network like '%%diaspora%%' and xchan_addr = '%s' )",
- dbesc($msg['author'])
+ $r = q("SELECT * from channel where channel_id in ( SELECT abook_channel from abook left join xchan on abook_xchan = xchan_hash WHERE xchan_network like '%%diaspora%%' and xchan_addr = '%s' ) and ( channel_pageflags & %d ) = 0 ",
+ dbesc($msg['author']),
+ intval(PAGE_REMOVED)
);
// also need to look for those following public streams