]> git.mxchange.org Git - friendica.git/commitdiff
OStatus: By using Qvitter, users can delete items. We can't handle that by now, so...
authorMichael Vogel <icarus@dabo.de>
Tue, 30 Jun 2015 06:08:02 +0000 (08:08 +0200)
committerMichael Vogel <icarus@dabo.de>
Tue, 30 Jun 2015 06:08:02 +0000 (08:08 +0200)
include/ostatus.php

index 10361e87c8c0c71edc616ee048aa61e435b41d43..9a65efbaf942cacf264bc1502719fb4bf6657a60 100644 (file)
@@ -200,6 +200,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;