[mastodon-client] enforce limit for notifications

This commit is contained in:
Laura Hausmann 2023-07-09 03:44:41 +02:00
parent 19470265f3
commit bd1faa9ab3
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
1 changed files with 1 additions and 1 deletions

View File

@ -2285,7 +2285,7 @@ export default class Misskey implements MegalodonInterface {
if (options) {
if (options.limit) {
params = Object.assign(params, {
limit: options.limit
limit: options.limit <= 100 ? options.limit : 100
})
}
else {