diff options
author | Mario <mario@mariovavti.com> | 2021-10-08 17:35:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-08 17:35:36 +0000 |
commit | b830bbd0846f86c36b07a5340aac3def8264b9f4 (patch) | |
tree | a226497d37d3a05f72d63d3044cd49af4b445f64 /Zotlabs/Widget/Messages.php | |
parent | c1894c5a39a0fcfcdb988bd45fd6736910359dba (diff) | |
download | volse-hubzilla-b830bbd0846f86c36b07a5340aac3def8264b9f4.tar.gz volse-hubzilla-b830bbd0846f86c36b07a5340aac3def8264b9f4.tar.bz2 volse-hubzilla-b830bbd0846f86c36b07a5340aac3def8264b9f4.zip |
remove hz_syslog and deal with intro notifications in the messages widget
Diffstat (limited to 'Zotlabs/Widget/Messages.php')
-rw-r--r-- | Zotlabs/Widget/Messages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index eb3a07da1..91b82fe2e 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -220,7 +220,7 @@ class Messages { $entries[$i]['created'] = datetime_convert('UTC', date_default_timezone_get(), $notice['created']); $entries[$i]['summary'] = $summary; $entries[$i]['b64mid'] = basename($notice['link']); - $entries[$i]['href'] = z_root() . '/hq/' . basename($notice['link']); + $entries[$i]['href'] = (($notice['ntype'] & NOTIFY_INTRO) ? $notice['link'] : z_root() . '/hq/' . basename($notice['link'])); $entries[$i]['icon'] = ''; $i++; |