500 when scrolling through some lists
When scrolling to the bottom of any list (notifications, timelines, etc.) an internal server error happens. This is caused by a
max_id param, the backend didn't expect. This does not affect the "Home" timeline!
16:06:12 web.1 | Unpermitted parameter: :max_id 16:06:12 web.1 | Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.2ms) 16:06:12 web.1 | 16:06:12 web.1 | 16:06:12 web.1 | 16:06:12 web.1 | ArgumentError - wrong number of arguments (given 2, expected 1): 16:06:12 web.1 | app/models/concerns/paginable.rb:23:in `block (2 levels) in <module:Paginable>' 16:06:12 web.1 | app/controllers/api/v1/notifications_controller.rb:40:in `paginated_notifications' 16:06:12 web.1 | app/controllers/api/v1/notifications_controller.rb:36:in `load_notifications' 16:06:12 web.1 | app/controllers/api/v1/notifications_controller.rb:14:in `index'
As I was unable to find any issue regarding this in mainline Mastodon, I suppose it's only affecting this fork.