Skip to content

Commit f733c83

Browse files
committed
fix scopes
1 parent dea3dc9 commit f733c83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adapter.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ class XmppBot extends Adapter {
2323
// Store the room JID to private JID map.
2424
// Key is the room JID, value is the private JID
2525
this.roomToPrivateJID = {};
26+
27+
this.error = this.error.bind(this)
28+
this.online = this.online.bind(this)
29+
this.offline = this.offline.bind(this)
30+
this.read = this.read.bind(this)
31+
this.ping = this.ping.bind(this)
2632
}
2733

2834
run() {

0 commit comments

Comments
 (0)