mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Use the user id instead of "local_user()"
This commit is contained in:
parent
28ce00c102
commit
13e216032f
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ class Notify extends BaseRepository
|
|||
return true;
|
||||
}
|
||||
|
||||
$notify_type = $this->pConfig->get(local_user(), 'system', 'notify_type', 3 | 72 | 4 | 16 | 32);
|
||||
$notify_type = $this->pConfig->get($Notification->uid, 'system', 'notify_type', 3 | 72 | 4 | 16 | 32);
|
||||
|
||||
if (($notify_type & 3) && in_array($Notification->type, [Model\Post\UserNotification::TYPE_EXPLICIT_TAGGED, Model\Post\UserNotification::TYPE_IMPLICIT_TAGGED])) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue