Update AccountController

pull/547/head
Daniel Supernault 2018-11-18 21:47:41 -07:00
rodzic 143e4e4ef6
commit da2777d52f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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);