Remote subscribe from a GNU Social site is now possible

This commit is contained in:
Michael Vogel 2015-06-13 19:51:45 +02:00
commit 66058c6cf4
2 changed files with 3 additions and 0 deletions

View file

@ -54,6 +54,7 @@ function xrd_init(&$a) {
'$dspr' => $dspr,
'$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'],
'$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'] . '/mention',
'$subscribe' => $a->get_baseurl() . '/follow?url={uri}',
'$modexp' => 'data:application/magic-public-key,' . $salmon_key,
'$bigkey' => salmon_key($r[0]['pubkey'])
));