aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-09 11:34:41 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-09 11:34:41 +0100
commitfc96cd371042a92ed180635b91924413392d3972 (patch)
tree19cbe2aaee6d625df3ab5dcd2c60d7ceec074070 /Zotlabs/Lib/Enotify.php
parente7d20efb1b8d579bcb9bdef99205aad19281f6b2 (diff)
downloadvolse-hubzilla-fc96cd371042a92ed180635b91924413392d3972.tar.gz
volse-hubzilla-fc96cd371042a92ed180635b91924413392d3972.tar.bz2
volse-hubzilla-fc96cd371042a92ed180635b91924413392d3972.zip
load notifications links to /display via ajax if we are already in /display
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r--Zotlabs/Lib/Enotify.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index d5798e671..fffe4ffe7 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -803,6 +803,7 @@ class Enotify {
'photo' => $item['author']['xchan_photo_s'],
'when' => relative_date($item['created']),
'class' => (intval($item['item_unseen']) ? 'notify-unseen' : 'notify-seen'),
+ 'b64mid' => 'b64.' . base64url_encode($item['mid']),
'message' => strip_tags(bbcode($itemem_text))
);