]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use author-declared URL as URI
authorStephen Paul Weber <singpolyma@singpolyma.net>
Fri, 23 Oct 2015 18:41:00 +0000 (18:41 +0000)
committerStephen Paul Weber <singpolyma@singpolyma.net>
Thu, 12 Nov 2015 19:06:16 +0000 (19:06 +0000)
Will make brid.gy work better, for example.

plugins/Linkback/lib/util.php

index 694dd84b0dea984275368019e7109c2a3082c1d9..2f2c52bae170380888e265d302dec94e2cab09cc 100644 (file)
@@ -216,7 +216,7 @@ function linkback_notice($source, $notice_or_user, $entry, $author, $mf2) {
 
     $options = array('is_local' => Notice::REMOTE,
                     'url' => $entry['url'][0],
-                    'uri' => $source,
+                    'uri' => $entry['url'][0],
                     'rendered' => $rendered,
                     'replies' => array(),
                     'groups' => array(),