From 7a0cf5a921033ca23c442bf135f1ad08ca6b168e Mon Sep 17 00:00:00 2001 From: Josef Citrine Date: Fri, 30 Sep 2016 01:10:45 +0100 Subject: [PATCH] Fixed notification thing about followers being related to themselves --- app/Models/Notification.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Models/Notification.php b/app/Models/Notification.php index 34cb27e3..b6c531ff 100644 --- a/app/Models/Notification.php +++ b/app/Models/Notification.php @@ -68,7 +68,6 @@ class Notification extends Model 'activity', 'activity.initiatingUser', 'activity.resource', - 'activity.resource.user', ]) ->join('activities', 'notifications.activity_id', '=', 'activities.id') ->where('notifications.user_id', $user->id)