kopia lustrzana https://github.com/pixelfed/pixelfed
Update AccountController
rodzic
143e4e4ef6
commit
da2777d52f
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue