[mastodon-client] enforce limit for notifications
This commit is contained in:
parent
19470265f3
commit
bd1faa9ab3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user