diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 19:14:21 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-09-22 19:14:21 -0700 |
commit | c699d3a17a8867554761ab17f773f3f1304bda3c (patch) | |
tree | af5b564ef2d54771c7d7ce44f0e62eb6f66efc24 | |
parent | 2fa5b8c0a2e54364aaa2b725a43a48898b09bebb (diff) | |
parent | d16ac62a511ed32e7bcd50ee25148c0771b5e765 (diff) | |
download | volse-hubzilla-c699d3a17a8867554761ab17f773f3f1304bda3c.tar.gz volse-hubzilla-c699d3a17a8867554761ab17f773f3f1304bda3c.tar.bz2 volse-hubzilla-c699d3a17a8867554761ab17f773f3f1304bda3c.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
-rw-r--r-- | include/zot.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php index d50754638..86e9da5f3 100644 --- a/include/zot.php +++ b/include/zot.php @@ -2816,8 +2816,10 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) { $channel = $r[0]; - $h = q("select * from hubloc where hubloc_hash = '%s'", - dbesc($channel['channel_hash']) + $h = q("select * from hubloc where hubloc_hash = '%s' and not (hubloc_flags & %d) > 0 and not (hubloc_status & %d) > 0", + dbesc($channel['channel_hash']), + intval(HUBLOC_FLAGS_DELETED), + intval(HUBLOC_OFFLINE) ); if(! $h) |