aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-11-24 20:19:09 +0000
committerMario <mario@mariovavti.com>2021-11-24 20:19:35 +0000
commit3ac5d5257bceb065150d06969620cb996e35546c (patch)
tree4c9483e3adf70721fe4ff9b76606131dce051cbc /Zotlabs
parent668d7c73ede680862118331f64156d76c9fbadec (diff)
downloadvolse-hubzilla-3ac5d5257bceb065150d06969620cb996e35546c.tar.gz
volse-hubzilla-3ac5d5257bceb065150d06969620cb996e35546c.tar.bz2
volse-hubzilla-3ac5d5257bceb065150d06969620cb996e35546c.zip
fix issue where likes notices are emited allthough they are actually disabled
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Enotify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index d02dab739..fdc7d4567 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -256,7 +256,7 @@ class Enotify {
$itemlink = $params['link'];
- if (array_key_exists('item',$params) && (! activity_match($params['item']['verb'],ACTIVITY_LIKE))) {
+ if (array_key_exists('item',$params) && activity_match($params['item']['verb'],ACTIVITY_LIKE)) {
if(! $always_show_in_notices || !($vnotify & VNOTIFY_LIKE)) {
logger('notification: not a visible activity. Ignoring.');
pop_lang();