mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
Show "Redmatrix" as network name.
This commit is contained in:
parent
74a2f58efb
commit
fca8aecc9b
10 changed files with 36 additions and 30 deletions
|
@ -92,6 +92,10 @@ function onepoll_run(&$argv, &$argc){
|
|||
);
|
||||
|
||||
if(! count($contacts)) {
|
||||
// Maybe it is a Redmatrix account. Then we can fetch their contacts via poco
|
||||
$contacts = q("SELECT `id`, `poco` FROM `contact` WHERE `id` = %d AND `poco` != ''", intval($contact_id));
|
||||
if ($contacts)
|
||||
poco_load($contacts[0]['id'],$importer_uid,0,$contacts[0]['poco']);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue