avoid unnecessary nextTick callbacks in bubble-timeline.ts

This commit is contained in:
Hazelnoot 2025-06-02 17:27:33 -04:00
parent 0e16a56086
commit 9ebb254ce5

View file

@ -128,11 +128,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
return true;
});
process.nextTick(() => {
if (me) {
process.nextTick(() => {
this.activeUsersChart.read(me);
}
});
}
return await this.noteEntityService.packMany(timeline, me);
});