"remote-self" is now working for Diaspora and Twitter as well

This commit is contained in:
Michael 2018-05-04 21:12:13 +00:00
commit 1230ff146a
3 changed files with 28 additions and 6 deletions

View file

@ -121,7 +121,7 @@ function crepair_content(App $a)
// Disable remote self for everything except feeds.
// There is an issue when you repeat an item from maybe twitter and you got comments from friendica and twitter
// Problem is, you couldn't reply to both networks.
if (!in_array($contact['network'], [NETWORK_FEED, NETWORK_DFRN, NETWORK_DIASPORA])) {
if (!in_array($contact['network'], [NETWORK_FEED, NETWORK_DFRN, NETWORK_DIASPORA, NETWORK_TWITTER])) {
$allow_remote_self = false;
}