1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

always set on subscribe

This commit is contained in:
Kyle Spearrin 2019-08-16 20:54:21 -04:00
parent 640c44820a
commit 1f98a2ebcb

View File

@ -17,10 +17,6 @@ export class BroadcasterService implements BroadcasterServiceAbstraction {
} }
subscribe(id: string, messageCallback: (message: any) => any) { subscribe(id: string, messageCallback: (message: any) => any) {
if (this.subscribers.has(id)) {
return;
}
this.subscribers.set(id, messageCallback); this.subscribers.set(id, messageCallback);
} }