Receiving pokes work now
This commit is contained in:
parent
bd3e10b132
commit
3890415767
|
@ -1703,9 +1703,7 @@ class dfrn {
|
||||||
if(($xo->type == ACTIVITY_OBJ_PERSON) && ($xo->id)) {
|
if(($xo->type == ACTIVITY_OBJ_PERSON) && ($xo->id)) {
|
||||||
|
|
||||||
// somebody was poked/prodded. Was it me?
|
// somebody was poked/prodded. Was it me?
|
||||||
$links = parse_xml_string("<links>".unxmlify($xo->link)."</links>",false);
|
foreach($xo->link as $l) {
|
||||||
|
|
||||||
foreach($links->link as $l) {
|
|
||||||
$atts = $l->attributes();
|
$atts = $l->attributes();
|
||||||
switch($atts["rel"]) {
|
switch($atts["rel"]) {
|
||||||
case "alternate":
|
case "alternate":
|
||||||
|
@ -1715,6 +1713,7 @@ class dfrn {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($Blink && link_compare($Blink,App::get_baseurl()."/profile/".$importer["nickname"])) {
|
if($Blink && link_compare($Blink,App::get_baseurl()."/profile/".$importer["nickname"])) {
|
||||||
|
|
||||||
// send a notification
|
// send a notification
|
||||||
|
|
Loading…
Reference in a new issue