mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Inverted conditions
This commit is contained in:
parent
0cd02631ce
commit
9b127ad0fc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue