aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/diaspora.php')
-rw-r--r--include/diaspora.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index a6f3002b9..3c28373ea 100644
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -8,7 +8,7 @@ require_once('include/contact_selectors.php');
function diaspora_dispatch_public($msg) {
- $r = q("SELECT `user`.* FROM `user` WHERE `user`.`uid` IN ( SELECT `contact`.`uid` FROM `contact` WHERE `contact`.`network` = '%s' AND `contact`.`addr` = '%s' ) ",
+ $r = q("SELECT `user`.* FROM `user` WHERE `user`.`uid` IN ( SELECT `contact`.`uid` FROM `contact` WHERE `contact`.`network` = '%s' AND `contact`.`addr` = '%s' ) AND `account_expired` = 0 ",
dbesc(NETWORK_DIASPORA),
dbesc($msg['author'])
);