always set on subscribe
This commit is contained in:
parent
640c44820a
commit
1f98a2ebcb
|
@ -17,10 +17,6 @@ export class BroadcasterService implements BroadcasterServiceAbstraction {
|
|||
}
|
||||
|
||||
subscribe(id: string, messageCallback: (message: any) => any) {
|
||||
if (this.subscribers.has(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.subscribers.set(id, messageCallback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue