]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/OStatus/Salmon.php
The query condition for active users are unified
[friendica.git] / src / Module / OStatus / Salmon.php
index 889d852d961f955437253ca0e8b1403ba299c128..9f064869287aa7e08b4f23792ad21a3f8e92902c 100644 (file)
@@ -74,7 +74,7 @@ class Salmon extends \Friendica\BaseModule
 
                $this->logger->debug('New Salmon', ['nickname' => $nickname, 'xml' => $xml]);
 
-               $importer = $this->database->selectFirst('user', [], ['nickname' => $nickname, 'account_expired' => false, 'account_removed' => false]);
+               $importer = $this->database->selectFirst('user', [], ['nickname' => $nickname, 'verified' => true, 'blocked' => false, 'account_removed' => false, 'account_expired' => false]);
                if (!$this->database->isResult($importer)) {
                        throw new HTTPException\InternalServerErrorException();
                }