Some documentation
This commit is contained in:
parent
26936755d9
commit
e925c4139c
1 changed files with 1 additions and 0 deletions
|
@ -2876,6 +2876,7 @@ class diaspora {
|
||||||
"created_at" => $created,
|
"created_at" => $created,
|
||||||
"provider_display_name" => $item["app"]);
|
"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"])) {
|
if (!isset($location["lat"]) OR !isset($location["lng"])) {
|
||||||
unset($message["location"]);
|
unset($message["location"]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue