mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Don't search for contacts on blocked or failed systems
This commit is contained in:
parent
f61fd93db0
commit
4c81a7ab91
4 changed files with 21 additions and 6 deletions
10
database.sql
10
database.sql
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2023.03-rc (Giant Rhubarb)
|
||||
-- DB_UPDATE_VERSION 1517
|
||||
-- DB_UPDATE_VERSION 1518
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
@ -2849,7 +2849,9 @@ CREATE VIEW `account-view` AS SELECT
|
|||
`apcontact`.`statuses_count` AS `ap-statuses_count`,
|
||||
`gserver`.`site_name` AS `site_name`,
|
||||
`gserver`.`platform` AS `platform`,
|
||||
`gserver`.`version` AS `version`
|
||||
`gserver`.`version` AS `version`,
|
||||
`gserver`.`blocked` AS `server-blocked`,
|
||||
`gserver`.`failed` AS `server-failed`
|
||||
FROM `contact`
|
||||
LEFT JOIN `item-uri` ON `item-uri`.`id` = `contact`.`uri-id`
|
||||
LEFT JOIN `apcontact` ON `apcontact`.`uri-id` = `contact`.`uri-id`
|
||||
|
@ -2953,7 +2955,9 @@ CREATE VIEW `account-user-view` AS SELECT
|
|||
`apcontact`.`statuses_count` AS `ap-statuses_count`,
|
||||
`gserver`.`site_name` AS `site_name`,
|
||||
`gserver`.`platform` AS `platform`,
|
||||
`gserver`.`version` AS `version`
|
||||
`gserver`.`version` AS `version`,
|
||||
`gserver`.`blocked` AS `server-blocked`,
|
||||
`gserver`.`failed` AS `server-failed`
|
||||
FROM `contact` AS `ucontact`
|
||||
INNER JOIN `contact` ON `contact`.`uri-id` = `ucontact`.`uri-id` AND `contact`.`uid` = 0
|
||||
LEFT JOIN `item-uri` ON `item-uri`.`id` = `ucontact`.`uri-id`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue