We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 724b1c1 commit 029999eCopy full SHA for 029999e
1 file changed
src/Jobs/SendNotificationWhenPostIsFlagged.php
@@ -36,7 +36,7 @@ public function handle(NotificationSyncer $notifications)
36
$flag = $this->flag;
37
38
$notify = User::query()
39
- ->where('users.id', '!=', $flag->actor->id)
+ ->where('users.id', '!=', $flag->user_id)
40
->where('preferences', 'regexp', new Expression('\'"notify_postFlagged_[a-z]+":true\''))
41
->get();
42
0 commit comments