1
0
Fork 0

Update AccountController

This commit is contained in:
Daniel Supernault 2018-11-18 21:47:41 -07:00
parent 143e4e4ef6
commit da2777d52f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@ jobs:
- checkout
- run: sudo apt update && sudo apt install zlib1g-dev libsqlite3-dev
- run: sudo docker-php-ext-install zip
- run: sudo docker-php-ext-install pcntl
# Download and cache dependencies

View File

@ -70,6 +70,7 @@ class AccountController extends Controller
$notifications = Notification::whereIn('actor_id', $following)
->whereIn('action', $allowed)
->where('actor_id', '<>', $profile->id)
->where('profile_id', '<>', $profile->id)
->whereDate('created_at', '>', $timeago)
->orderBy('notifications.created_at', 'desc')
->simplePaginate(30);