mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
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
Block a user