]> git.mxchange.org Git - friendica.git/blobdiff - mod/receive.php
OStatus conversation: now the creation date of the item is store with the conversation
[friendica.git] / mod / receive.php
index 2bd3cc65bcda1b5ae273d9903184981805b8d33a..0523fd9cc5df45812613f3162932c7dd7a1d2a90 100644 (file)
@@ -31,7 +31,7 @@ function receive_post(&$a) {
 
                $guid = $a->argv[2];
 
-               $r = q("SELECT * FROM `user` WHERE `guid` = '%s' AND `account_expired` = 0 LIMIT 1",
+               $r = q("SELECT * FROM `user` WHERE `guid` = '%s' AND `account_expired` = 0 AND `account_removed` = 0 LIMIT 1",
                        dbesc($guid)
                );
                if(! count($r))