X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdiaspora.php;h=10f1be93d24823b8849dcc0190adf69348e7a1e0;hb=85875fc07f9a859d0796adc48bc124c489a486dc;hp=9e3710e2d07026b243acbc9b4f0703fb01f0bf82;hpb=26936755d933d81ed9f837d6c4e7130794f78f15;p=friendica.git 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"]); }