mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
Issue 8547: Improve page load speed
This commit is contained in:
parent
b862150409
commit
7510e854de
3 changed files with 13 additions and 5 deletions
|
@ -536,7 +536,7 @@ class Contact extends BaseModule
|
|||
|
||||
$poll_enabled = in_array($contact['network'], [Protocol::DFRN, Protocol::OSTATUS, Protocol::FEED, Protocol::MAIL]);
|
||||
|
||||
$nettype = DI::l10n()->t('Network type: %s', ContactSelector::networkToName($contact['network'], $contact['url'], $contact['protocol']));
|
||||
$nettype = DI::l10n()->t('Network type: %s', ContactSelector::networkToName($contact['network'], $contact['url'], $contact['protocol'], $contact['gsid']));
|
||||
|
||||
// tabs
|
||||
$tab_str = self::getTabsHTML($contact, self::TAB_PROFILE);
|
||||
|
@ -1113,7 +1113,7 @@ class Contact extends BaseModule
|
|||
'account_type' => Model\Contact::getAccountType($contact),
|
||||
'sparkle' => $sparkle,
|
||||
'itemurl' => ($contact['addr'] ?? '') ?: $contact['url'],
|
||||
'network' => ContactSelector::networkToName($contact['network'], $contact['url'], $contact['protocol']),
|
||||
'network' => ContactSelector::networkToName($contact['network'], $contact['url'], $contact['protocol'], $contact['gsid']),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue