OStatus: Replies now arrive their target.

This commit is contained in:
Michael Vogel 2015-01-12 00:14:51 +01:00
parent f6ee51bcd7
commit beaca70126
5 changed files with 114 additions and 82 deletions

View file

@ -697,7 +697,7 @@ function bb_RemovePictureLinks($match) {
}
function bb_expand_links($match) {
if (stristr($match[2], $match[3]) OR ($match[2] == $match[3]))
if (($match[3] == "") OR ($match[2] == $match[3]) OR stristr($match[2], $match[3]))
return ($match[1]."[url]".$match[2]."[/url]");
else
return ($match[1].$match[3]." [url]".$match[2]."[/url]");