mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
avoid unnecessary nextTick callbacks in bubble-timeline.ts
This commit is contained in:
@@ -128,11 +128,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
process.nextTick(() => {
|
if (me) {
|
||||||
if (me) {
|
process.nextTick(() => {
|
||||||
this.activeUsersChart.read(me);
|
this.activeUsersChart.read(me);
|
||||||
}
|
});
|
||||||
});
|
}
|
||||||
|
|
||||||
return await this.noteEntityService.packMany(timeline, me);
|
return await this.noteEntityService.packMany(timeline, me);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user