X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fostatus.php;h=7825418474cc5385ec959443ba45b4c43960a644;hb=75998b62de742858c818d432b2a0bad848bb177a;hp=5cb1ae54de90b000be9dfcafb351685e1495e907;hpb=bffe35ab711d986bc8d2c95e91f83700a9a2e9a3;p=friendica.git diff --git a/include/ostatus.php b/include/ostatus.php index 5cb1ae54de..7825418474 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -201,6 +201,13 @@ function ostatus_import($xml,$importer,&$contact, &$hub) { $item["object"] = $xml; $item["verb"] = $xpath->query('activity:verb/text()', $entry)->item(0)->nodeValue; + // To-Do: + // Delete a message + if ($item["verb"] == "qvitter-delete-notice") { + // ignore "Delete" messages (by now) + continue; + } + if ($item["verb"] == ACTIVITY_JOIN) { // ignore "Join" messages continue;