Don't search for contacts on blocked or failed systems
This commit is contained in:
@@ -1009,6 +1009,8 @@
|
||||
"site_name" => ["gserver", "site_name"],
|
||||
"platform" => ["gserver", "platform"],
|
||||
"version" => ["gserver", "version"],
|
||||
"server-blocked" => ["gserver", "blocked"],
|
||||
"server-failed" => ["gserver", "failed"],
|
||||
],
|
||||
"query" => "FROM `contact`
|
||||
LEFT JOIN `item-uri` ON `item-uri`.`id` = `contact`.`uri-id`
|
||||
@@ -1111,6 +1113,8 @@
|
||||
"site_name" => ["gserver", "site_name"],
|
||||
"platform" => ["gserver", "platform"],
|
||||
"version" => ["gserver", "version"],
|
||||
"server-blocked" => ["gserver", "blocked"],
|
||||
"server-failed" => ["gserver", "failed"],
|
||||
],
|
||||
"query" => "FROM `contact` AS `ucontact`
|
||||
INNER JOIN `contact` ON `contact`.`uri-id` = `ucontact`.`uri-id` AND `contact`.`uid` = 0
|
||||
|
||||
Reference in New Issue
Block a user