git.cweiske.de
/
anoweco.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correct reply url in comment display
[anoweco.git]
/
src
/
anoweco
/
Urls.php
diff --git
a/src/anoweco/Urls.php
b/src/anoweco/Urls.php
index 5096d3175a9ab22900746ae27ea99d989f426b99..3f0f6ca1335c470cedc1d5c4dc15eff8bbf38701 100644
(file)
--- a/
src/anoweco/Urls.php
+++ b/
src/anoweco/Urls.php
@@
-44,5
+44,17
@@
class Urls
}
return intval($userId);
}
+
+ public static function reply($url)
+ {
+ return 'https://quill.p3k.io/'
+ . '?' . http_build_query(
+ [
+ 'dontask' => 1,
+ 'me' => Urls::full('/'),
+ 'reply' => $url,
+ ]
+ );
+ }
}
?>