aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2012-06-23 12:09:01 -0600
committerZach Prezkuta <fermion@gmx.com>2012-06-25 19:03:03 -0600
commit9e8573507e311d139ac7c83dff496d85408d9b8d (patch)
treee9667400bb104ed2d0980d4c63b520c0605a3b66 /mod/like.php
parentf495ba2bcbf3d80e6919672f0d0e5f375aa1a20d (diff)
downloadvolse-hubzilla-9e8573507e311d139ac7c83dff496d85408d9b8d.tar.gz
volse-hubzilla-9e8573507e311d139ac7c83dff496d85408d9b8d.tar.bz2
volse-hubzilla-9e8573507e311d139ac7c83dff496d85408d9b8d.zip
store signature info for remote users too
Diffstat (limited to 'mod/like.php')
-rwxr-xr-xmod/like.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/like.php b/mod/like.php
index 54d63b145..dce40a68e 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -247,7 +247,8 @@ function store_diaspora_like_retract_sig($activity, $item, $like_item, $contact)
if( $contact['network'] === NETWORK_DIASPORA)
$diaspora_handle = $contact['addr'];
- else { // Only works for NETWORK_DFRN
+ else {
+ // Only works for NETWORK_DFRN
$contact_baseurl_start = strpos($contact['url'],'://') + 3;
$contact_baseurl_length = strpos($contact['url'],'/profile') - $contact_baseurl_start;
$contact_baseurl = substr($contact['url'], $contact_baseurl_start, $contact_baseurl_length);
@@ -300,7 +301,8 @@ function store_diaspora_like_sig($activity, $post_type, $contact, $post_id) {
if(($activity === ACTIVITY_LIKE) && ($post_type === t('status'))) {
if( $contact['network'] === NETWORK_DIASPORA)
$diaspora_handle = $contact['addr'];
- else { // Only works for NETWORK_DFRN
+ else {
+ // Only works for NETWORK_DFRN
$contact_baseurl_start = strpos($contact['url'],'://') + 3;
$contact_baseurl_length = strpos($contact['url'],'/profile') - $contact_baseurl_start;
$contact_baseurl = substr($contact['url'], $contact_baseurl_start, $contact_baseurl_length);