https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79eeb40
)
Show the relations of Twitter contacts
author
Michael
<heluecht@pirati.ca>
Sat, 7 Mar 2020 13:05:16 +0000
(13:05 +0000)
committer
Michael
<heluecht@pirati.ca>
Sat, 7 Mar 2020 13:05:16 +0000
(13:05 +0000)
src/Module/Contact.php
patch
|
blob
|
history
diff --git
a/src/Module/Contact.php
b/src/Module/Contact.php
index
ee0ccce
..
84420af
100644
(file)
--- a/
src/Module/Contact.php
+++ b/
src/Module/Contact.php
@@
-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 = '';
}