Skip to content

Commit

Permalink
fix scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Nov 30, 2019
1 parent dea3dc9 commit f733c83
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ class XmppBot extends Adapter {
// Store the room JID to private JID map.
// Key is the room JID, value is the private JID
this.roomToPrivateJID = {};

this.error = this.error.bind(this)
this.online = this.online.bind(this)
this.offline = this.offline.bind(this)
this.read = this.read.bind(this)
this.ping = this.ping.bind(this)
}

run() {
Expand Down

0 comments on commit f733c83

Please # to comment.