diff --git a/src/classes/notifications.ts b/src/classes/notifications.ts index cfd0c59..71286ca 100644 --- a/src/classes/notifications.ts +++ b/src/classes/notifications.ts @@ -92,7 +92,7 @@ export default class AccountNotifications { } } - throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 1); + throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 0); updateTimeline() { const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value; const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : []; diff --git a/src/classes/timeline-loader.ts b/src/classes/timeline-loader.ts index 2650a3f..3ba3094 100644 --- a/src/classes/timeline-loader.ts +++ b/src/classes/timeline-loader.ts @@ -67,7 +67,7 @@ export default class TimelineLoader { processManager.registerProcess(this.process); } - private throttleUpdateTimeline = _throttle(this.updateTimeline, 10); + private throttleUpdateTimeline = _throttle(this.updateTimeline, 1); private updateTimeline() { if (this.eventFilter) { const filter = this.eventFilter;