From: Michael Date: Sun, 13 Nov 2016 18:28:55 +0000 (+0000) Subject: Some documentation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e925c4139c17e43708426bb296a08b39e6fe8e8b;p=friendica.git Some documentation --- diff --git a/include/diaspora.php b/include/diaspora.php index 9e3710e2d0..10f1be93d2 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -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"]); }