diff options
author | friendica <info@friendica.com> | 2014-11-20 02:54:55 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-20 02:54:55 -0800 |
commit | 78cb87343cefd56ddb9f0ad46c04fb57dafcc2a0 (patch) | |
tree | d5d301ce52442f9dba7a15802b9089ff0f28ebec /include | |
parent | c8af19c69c03b39d5eded833a2d9d8ed9ab5826c (diff) | |
download | volse-hubzilla-78cb87343cefd56ddb9f0ad46c04fb57dafcc2a0.tar.gz volse-hubzilla-78cb87343cefd56ddb9f0ad46c04fb57dafcc2a0.tar.bz2 volse-hubzilla-78cb87343cefd56ddb9f0ad46c04fb57dafcc2a0.zip |
friendica commenters are currently shown using "Diaspora" app. Try and fix this where we can.
Diffstat (limited to 'include')
-rwxr-xr-x | include/diaspora.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/diaspora.php b/include/diaspora.php index b4f20528d..e494aac0f 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1395,7 +1395,12 @@ function diaspora_comment($importer,$xml,$msg) { $datarray['body'] = $body; - $datarray['app'] = 'Diaspora'; + if(strstr($person['xchan_network'],'friendica')) + $app = 'Friendica'; + else + $app = 'Diaspora'; + + $datarray['app'] = $app; if(! $parent_author_signature) { $key = get_config('system','pubkey'); |