aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-23 18:17:35 -0700
committerFriendika <info@friendika.com>2011-08-23 18:17:35 -0700
commit56d64316f457c85141e35356a61a4d352ed9f24c (patch)
tree40e6bb98c68efb6623bbda25dfc799cbe5e77661 /include/group.php
parent91de9edecd2663d5e3313da1b8a01a35e7e8970e (diff)
downloadvolse-hubzilla-56d64316f457c85141e35356a61a4d352ed9f24c.tar.gz
volse-hubzilla-56d64316f457c85141e35356a61a4d352ed9f24c.tar.bz2
volse-hubzilla-56d64316f457c85141e35356a61a4d352ed9f24c.zip
diaspora photos ?
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/group.php b/include/group.php
index 1ebae7b7b..5e3a1511a 100644
--- a/include/group.php
+++ b/include/group.php
@@ -124,9 +124,10 @@ function group_public_members($gid) {
$r = q("SELECT `contact`.`id` AS `contact-id` FROM `group_member`
LEFT JOIN `contact` ON `contact`.`id` = `group_member`.`contact-id`
WHERE `gid` = %d AND `group_member`.`uid` = %d
- AND `contact`.`network` != 'dfrn' AND `contact`.`network` != 'mail' AND `contact`.`network` != 'face' ",
+ AND `contact`.`network` = '%' AND `contact`.`notify` != '' ",
intval($gid),
- intval(local_user())
+ intval(local_user()),
+ dbesc(NETWORK_OSTATUS)
);
if(count($r))
$ret = count($r);