diff options
-rwxr-xr-x | include/diaspora.php | 7 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 7 insertions, 2 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'); diff --git a/version.inc b/version.inc index 97d0c5a13..dceda9119 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-11-19.864 +2014-11-20.865 |