Merge pull request #8377 from annando/show-twitter

Show the relations of Twitter contacts
This commit is contained in:
Hypolite Petovan 2020-03-07 13:52:14 -05:00 committed by GitHub
commit 01f8847074
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -513,7 +513,7 @@ class Contact extends BaseModule
$relation_text = '';
}
if (!in_array($contact['network'], Protocol::FEDERATED)) {
if (!in_array($contact['network'], array_merge(Protocol::FEDERATED, [Protocol::TWITTER]))) {
$relation_text = '';
}