Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
always set on subscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Aug 17, 2019
1 parent 640c448 commit 1f98a2e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/services/broadcaster.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 1f98a2e

Please sign in to comment.