Fixed notification thing about followers being related to themselves

This commit is contained in:
Josef Citrine 2016-09-30 01:10:45 +01:00
parent c420d3955b
commit 7a0cf5a921

View file

@ -68,7 +68,6 @@ class Notification extends Model
'activity', 'activity',
'activity.initiatingUser', 'activity.initiatingUser',
'activity.resource', 'activity.resource',
'activity.resource.user',
]) ])
->join('activities', 'notifications.activity_id', '=', 'activities.id') ->join('activities', 'notifications.activity_id', '=', 'activities.id')
->where('notifications.user_id', $user->id) ->where('notifications.user_id', $user->id)