mirror of
https://github.com/friendica/friendica
synced 2025-04-28 13:44:25 +02:00
Fix relay handling
This commit is contained in:
parent
b8243689a0
commit
4cfcaa82c0
2 changed files with 6 additions and 8 deletions
|
@ -91,8 +91,8 @@ HELP;
|
|||
|
||||
if ((count($this->args) == 1) && ($this->getArgument(0) == 'list')) {
|
||||
$contacts = $this->dba->select('apcontact', ['url'],
|
||||
["`type` = ? AND `url` IN (SELECT `url` FROM `contact` WHERE `uid` = ? AND `rel` IN (?, ?))",
|
||||
'Application', 0, Contact::FOLLOWER, Contact::FRIEND]);
|
||||
["`type` = ? AND `url` IN (SELECT `url` FROM `contact` WHERE `uid` = ? AND `rel` = ?)",
|
||||
'Application', 0, Contact::FRIEND]);
|
||||
while ($contact = $this->dba->fetch($contacts)) {
|
||||
$this->out($contact['url']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue