mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +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;
|
||||
});
|
||||
|
||||
process.nextTick(() => {
|
||||
if (me) {
|
||||
if (me) {
|
||||
process.nextTick(() => {
|
||||
this.activeUsersChart.read(me);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
return await this.noteEntityService.packMany(timeline, me);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user