Bugfix: Revive dead contacts
This commit is contained in:
parent
1441abd15a
commit
08f461f70c
5 changed files with 17 additions and 14 deletions
|
@ -66,7 +66,7 @@ function ostatus_subscribe_content(App $a) {
|
|||
|
||||
$data = probe_url($url);
|
||||
if ($data["network"] == NETWORK_OSTATUS) {
|
||||
$result = new_contact($uid,$url,true);
|
||||
$result = new_contact($uid, $url, true, NETWORK_OSTATUS);
|
||||
if ($result["success"]) {
|
||||
$o .= " - ".t("success");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue