diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-07 15:40:34 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-07 15:40:34 +0200 |
commit | 4c0e8a61aecc5c90d532016dc42f13ab07646335 (patch) | |
tree | e2cb4e0dc85534a3c7eddd0cdade3e1ec734cc76 /Zotlabs/Module/Ping.php | |
parent | dc2c6d00febda8bb92f41f2b4f37bd9de884dd5e (diff) | |
download | volse-hubzilla-4c0e8a61aecc5c90d532016dc42f13ab07646335.tar.gz volse-hubzilla-4c0e8a61aecc5c90d532016dc42f13ab07646335.tar.bz2 volse-hubzilla-4c0e8a61aecc5c90d532016dc42f13ab07646335.zip |
provide single post view for pubstream and rewrite llink to point to /pubstream/?f=&mid=some_mid instead of /display/some_mid for pubs notifications
Diffstat (limited to 'Zotlabs/Module/Ping.php')
-rw-r--r-- | Zotlabs/Module/Ping.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php index 0acd720d6..e3f430861 100644 --- a/Zotlabs/Module/Ping.php +++ b/Zotlabs/Module/Ping.php @@ -183,6 +183,7 @@ class Ping extends \Zotlabs\Web\Controller { if($r) { xchan_query($r); foreach($r as $rr) { + $rr['llink'] = str_replace('display/', 'pubstream/?f=&mid=', $rr['llink']); $result[] = \Zotlabs\Lib\Enotify::format($rr); } } |