mirror of
https://github.com/friendica/friendica
synced 2024-12-22 16:48:03 +01:00
Issue 8994: Mail contacts can now be added again
This commit is contained in:
parent
4841ac7dc5
commit
2b5b202200
1 changed files with 6 additions and 0 deletions
|
@ -108,7 +108,13 @@ function follow_content(App $a)
|
|||
}
|
||||
|
||||
$contact = Contact::getByURL($url, true);
|
||||
|
||||
// Possibly it is a mail contact
|
||||
if (empty($contact)) {
|
||||
$contact = Probe::uri($url, Protocol::MAIL, $uid);
|
||||
}
|
||||
|
||||
if (empty($contact) || ($contact['network'] == Protocol::PHANTOM)) {
|
||||
// Possibly it is a remote item and not an account
|
||||
follow_remote_item($url);
|
||||
|
||||
|
|
Loading…
Reference in a new issue