e0d97cd2a8 introduced a regression on Pleroma, because specifying the allowed types of notifications in the Masto API was only added in 3.5