]> git.mxchange.org Git - friendica.git/commitdiff
Some documentation
authorMichael <heluecht@pirati.ca>
Sun, 13 Nov 2016 18:28:55 +0000 (18:28 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 13 Nov 2016 18:28:55 +0000 (18:28 +0000)
include/diaspora.php

index 9e3710e2d07026b243acbc9b4f0703fb01f0bf82..10f1be93d24823b8849dcc0190adf69348e7a1e0 100644 (file)
@@ -2876,6 +2876,7 @@ class diaspora {
                                        "created_at" => $created,
                                        "provider_display_name" => $item["app"]);
 
+                       // Diaspora rejects messages when they contain a location without "lat" or "lng"
                        if (!isset($location["lat"]) OR !isset($location["lng"])) {
                                unset($message["location"]);
                        }