aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-25 23:12:45 -0700
committerredmatrix <mike@macgirvin.com>2016-09-25 23:12:45 -0700
commit6586b97a547795dc2a782402f081dfccd1fde0d4 (patch)
tree3cfdc7e9d7174fa965cf4549e9c314c7e91ffacb /Zotlabs/Lib/Enotify.php
parent7e59c70a9feb0de777a673a5ca5551170787c4e1 (diff)
downloadvolse-hubzilla-6586b97a547795dc2a782402f081dfccd1fde0d4.tar.gz
volse-hubzilla-6586b97a547795dc2a782402f081dfccd1fde0d4.tar.bz2
volse-hubzilla-6586b97a547795dc2a782402f081dfccd1fde0d4.zip
remove the now useless url fragments from notification links
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r--Zotlabs/Lib/Enotify.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index ca83adb34..421d310d9 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -115,9 +115,6 @@ class Enotify {
// logger("notification: params = " . print_r($params, true), LOGGER_DEBUG);
$itemlink = $params['link'];
- if($params['item']['id'])
- $itemlink .= '#item_' . $params['item']['id'];
-
// ignore like/unlike activity on posts - they probably require a separate notification preference
@@ -680,7 +677,7 @@ class Enotify {
// convert this logic into a json array just like the system notifications
return array(
- 'notify_link' => $item['llink'] . '#item_' . $item['id'],
+ 'notify_link' => $item['llink'],
'name' => $item['author']['xchan_name'],
'url' => $item['author']['xchan_url'],
'photo' => $item['author']['xchan_photo_s'],