]> git.mxchange.org Git - friendica.git/blobdiff - include/diaspora.php
Forgot to commit the changes (regarding fermionic's comments) in notifier.php
[friendica.git] / include / diaspora.php
index c5b724509c0d5858b63ba8686d819297c035edbc..f645aeb39b86a0ea62f24419a30bde0b8937b42e 100755 (executable)
@@ -16,7 +16,7 @@ function diaspora_dispatch_public($msg) {
                return;
        }
 
-       $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 ",
+       $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 AND `account_removed` = 0 ",
                dbesc(NETWORK_DIASPORA),
                dbesc($msg['author'])
        );