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

Commit

Permalink
fix: set dialer in constructor if passed (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 30, 2022
1 parent c9f66bf commit d9ca145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ export class Components implements Startable {
if (init.pubsub != null) {
this.setPubSub(init.pubsub)
}

if (init.dialer != null) {
this.setDialer(init.dialer)
}
}

isStarted () {
Expand Down

0 comments on commit d9ca145

Please sign in to comment.