mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Merge remote-tracking branch 'upstream/2018.08-rc' into ap1
This commit is contained in:
commit
e45206ae5d
17 changed files with 81 additions and 58 deletions
|
@ -3492,7 +3492,7 @@ class Diaspora
|
|||
|
||||
$myaddr = self::myHandle($owner);
|
||||
|
||||
$public = (($item["private"]) ? "false" : "true");
|
||||
$public = ($item["private"] ? "false" : "true");
|
||||
|
||||
$created = DateTimeFormat::utc($item["created"], DateTimeFormat::ATOM);
|
||||
|
||||
|
|
|
@ -1157,9 +1157,9 @@ class PortableContact
|
|||
|
||||
if (isset($data['version'])) {
|
||||
$platform = "Mastodon";
|
||||
$version = $data['version'];
|
||||
$site_name = $data['title'];
|
||||
$info = $data['description'];
|
||||
$version = defaults($data, 'version', '');
|
||||
$site_name = defaults($data, 'title', '');
|
||||
$info = defaults($data, 'description', '');
|
||||
$network = Protocol::OSTATUS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue