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 ee0ccce..84420af 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 = '';
                        }