mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 11:15:17 +00:00
Merge https://github.com/redmatrix/redmatrix into pending_merge
This commit is contained in:
commit
c699d3a17a
1 changed files with 4 additions and 2 deletions
|
@ -2816,8 +2816,10 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
|
||||||
|
|
||||||
$channel = $r[0];
|
$channel = $r[0];
|
||||||
|
|
||||||
$h = q("select * from hubloc where hubloc_hash = '%s'",
|
$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'])
|
dbesc($channel['channel_hash']),
|
||||||
|
intval(HUBLOC_FLAGS_DELETED),
|
||||||
|
intval(HUBLOC_OFFLINE)
|
||||||
);
|
);
|
||||||
|
|
||||||
if(! $h)
|
if(! $h)
|
||||||
|
|
Loading…
Reference in a new issue