From 78cb87343cefd56ddb9f0ad46c04fb57dafcc2a0 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 20 Nov 2014 02:54:55 -0800 Subject: friendica commenters are currently shown using "Diaspora" app. Try and fix this where we can. --- include/diaspora.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/diaspora.php') 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'); -- cgit v1.2.3