are
This commit is contained in:
parent
b1c751fa3a
commit
103c4190eb
3 changed files with 4 additions and 3 deletions
|
|
@ -344,7 +344,9 @@ export class GlobalEventService {
|
|||
|
||||
@bindThis
|
||||
public publishMainStream<K extends keyof MainEventTypes>(userId: MiUser['id'], type: K, value?: MainEventTypes[K]): void {
|
||||
console.time('GlobalEventService.publishMainStream');
|
||||
this.publish(`mainStream:${userId}`, type, typeof value === 'undefined' ? null : value);
|
||||
console.time('GlobalEventService.publishMainStream');
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue