]> git.mxchange.org Git - friendica.git/blobdiff - include/diaspora.php
Bugfix: Avoid warning when posting items and the worker isn't active
[friendica.git] / 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"]);
                        }