1
0
Fork 0

Merge pull request #2979 from annando/issue-2772

Issue 2772: Pending contacts should now be displayed
This commit is contained in:
Tobias Diekershoff 2016-12-01 08:51:04 +01:00 committed by GitHub
commit 1fc35d5f44
6 changed files with 21 additions and 21 deletions

View file

@ -194,7 +194,7 @@ class dfrn {
`sign`.`signed_text`, `sign`.`signature`, `sign`.`signer`
FROM `item` USE INDEX (`uid_wall_changed`, `uid_type_changed`) $sql_post_table
STRAIGHT_JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
AND NOT `contact`.`blocked`
AND (NOT `contact`.`blocked` OR `contact`.`pending`)
LEFT JOIN `sign` ON `sign`.`iid` = `item`.`id`
WHERE `item`.`uid` = %d AND `item`.`visible` AND NOT `item`.`moderated` AND `item`.`parent` != 0
AND `item`.`wall` AND `item`.`changed` > '%s'