https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd0263
)
Inverted conditions
author
Michael
<heluecht@pirati.ca>
Sun, 24 Jan 2021 13:49:23 +0000
(13:49 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 24 Jan 2021 13:49:23 +0000
(13:49 +0000)
include/enotify.php
patch
|
blob
|
history
diff --git
a/include/enotify.php
b/include/enotify.php
index
270b41e
..
95c61d6
100644
(file)
--- a/
include/enotify.php
+++ b/
include/enotify.php
@@
-624,7
+624,7
@@
function check_item_notification($itemid, $uid, $notification_type) {
return false;
}
- if (DI::pConfig()->get(local_user(), 'system', 'notify_ignored', true) && Contact\User::isIgnored($item['author-id'], $uid)) {
+ if (
!
DI::pConfig()->get(local_user(), 'system', 'notify_ignored', true) && Contact\User::isIgnored($item['author-id'], $uid)) {
Logger::info('Author is ignored, dropping notification', ['cid' => $item['author-id'], 'uid' => $uid]);
return false;
}