Merge pull request #1717 from annando/1506-ostatus-ignore-delete
OStatus: By using Qvitter, users can delete items.
This commit is contained in:
commit
511b4566b2
1 changed files with 7 additions and 0 deletions
|
@ -200,6 +200,13 @@ function ostatus_import($xml,$importer,&$contact, &$hub) {
|
||||||
$item["object"] = $xml;
|
$item["object"] = $xml;
|
||||||
$item["verb"] = $xpath->query('activity:verb/text()', $entry)->item(0)->nodeValue;
|
$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) {
|
if ($item["verb"] == ACTIVITY_JOIN) {
|
||||||
// ignore "Join" messages
|
// ignore "Join" messages
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue