From: Michael Date: Sun, 5 Jun 2022 14:22:16 +0000 (+0000) Subject: Use the user id instead of "local_user()" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=13e216032f2bea4da073d4157368b86c28367eea;p=friendica.git Use the user id instead of "local_user()" --- diff --git a/src/Navigation/Notifications/Repository/Notify.php b/src/Navigation/Notifications/Repository/Notify.php index 1966ee4d8a..71d2eba0cf 100644 --- a/src/Navigation/Notifications/Repository/Notify.php +++ b/src/Navigation/Notifications/Repository/Notify.php @@ -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;