This commit is contained in:
parent
045fc4607d
commit
9a1ccb561a
@ -92,7 +92,7 @@ export default class AccountNotifications {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 1);
|
throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 0);
|
||||||
updateTimeline() {
|
updateTimeline() {
|
||||||
const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value;
|
const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value;
|
||||||
const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : [];
|
const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : [];
|
||||||
|
@ -67,7 +67,7 @@ export default class TimelineLoader {
|
|||||||
processManager.registerProcess(this.process);
|
processManager.registerProcess(this.process);
|
||||||
}
|
}
|
||||||
|
|
||||||
private throttleUpdateTimeline = _throttle(this.updateTimeline, 10);
|
private throttleUpdateTimeline = _throttle(this.updateTimeline, 1);
|
||||||
private updateTimeline() {
|
private updateTimeline() {
|
||||||
if (this.eventFilter) {
|
if (this.eventFilter) {
|
||||||
const filter = this.eventFilter;
|
const filter = this.eventFilter;
|
||||||
|
Loading…
Reference in New Issue
Block a user