mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
Additionally display the protocol together with the network
This commit is contained in:
parent
6fa1dfa86a
commit
c037e9143c
6 changed files with 18 additions and 13 deletions
|
@ -528,7 +528,7 @@ class Contact extends BaseModule
|
|||
|
||||
$poll_enabled = in_array($contact['network'], [Protocol::DFRN, Protocol::OSTATUS, Protocol::FEED, Protocol::MAIL]);
|
||||
|
||||
$nettype = L10n::t('Network type: %s', ContactSelector::networkToName($contact['network'], $contact['url']));
|
||||
$nettype = L10n::t('Network type: %s', ContactSelector::networkToName($contact['network'], $contact['url'], $contact['protocol']));
|
||||
|
||||
// tabs
|
||||
$tab_str = self::getTabsHTML($a, $contact, 3);
|
||||
|
@ -1043,7 +1043,7 @@ class Contact extends BaseModule
|
|||
'sparkle' => $sparkle,
|
||||
'itemurl' => ($rr['addr'] ?? '') ?: $rr['url'],
|
||||
'url' => $url,
|
||||
'network' => ContactSelector::networkToName($rr['network'], $rr['url']),
|
||||
'network' => ContactSelector::networkToName($rr['network'], $rr['url'], $rr['protocol']),
|
||||
'nick' => $rr['nick'],
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue