New hook "support_probe"

This commit is contained in:
Michael 2023-04-27 05:24:47 +00:00
parent a725815d7a
commit 970d86472e
4 changed files with 33 additions and 1 deletions

View file

@ -463,7 +463,7 @@ class Profile extends BaseModule
];
}
if (in_array($contact['network'], Protocol::NATIVE_SUPPORT)) {
if (Protocol::supportsProbe($contact['network'])) {
$contact_actions['updateprofile'] = [
'label' => $this->t('Refetch contact data'),
'url' => 'contact/' . $contact['id'] . '/updateprofile?t=' . $formSecurityToken,