]> git.mxchange.org Git - friendica.git/commitdiff
Show the relations of Twitter contacts
authorMichael <heluecht@pirati.ca>
Sat, 7 Mar 2020 13:05:16 +0000 (13:05 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 7 Mar 2020 13:05:16 +0000 (13:05 +0000)
src/Module/Contact.php

index ee0ccce7ea16afd6ba4600b9420f9020727cf717..84420afaad9129476e6fe27831e4a0ff76932421 100644 (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 = '';
                        }