aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-10-08 17:35:36 +0000
committerMario <mario@mariovavti.com>2021-10-08 17:35:36 +0000
commitb830bbd0846f86c36b07a5340aac3def8264b9f4 (patch)
treea226497d37d3a05f72d63d3044cd49af4b445f64 /Zotlabs
parentc1894c5a39a0fcfcdb988bd45fd6736910359dba (diff)
downloadvolse-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')
-rw-r--r--Zotlabs/Lib/Zotfinger.php2
-rw-r--r--Zotlabs/Widget/Messages.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Zotfinger.php b/Zotlabs/Lib/Zotfinger.php
index 6aa3c60ee..840d91403 100644
--- a/Zotlabs/Lib/Zotfinger.php
+++ b/Zotlabs/Lib/Zotfinger.php
@@ -37,7 +37,7 @@ class Zotfinger {
$redirects = 0;
$x = z_post_url($resource,$data,$redirects, [ 'headers' => $h ] );
- hz_syslog('fetch: ' . print_r($x,true));
+ logger('fetch: ' . print_r($x,true));
if($x['success']) {
if ($verify) {
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++;