Created
October 25, 2012 01:41
-
-
Save markstory/3950003 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/xmpp.coffee b/src/xmpp.coffee | |
index 69d4931..6c325ca 100644 | |
--- a/src/xmpp.coffee | |
+++ b/src/xmpp.coffee | |
@@ -13,6 +13,7 @@ class XmppBot extends Adapter | |
rooms: @parseRooms process.env.HUBOT_XMPP_ROOMS.split(',') | |
keepaliveInterval: 30000 # ms interval to send whitespace to xmpp server | |
legacySSL: process.env.HUBOT_XMPP_LEGACYSSL | |
+ preferredSaslMechanism: process.env.HUBOT_XMPP_PREFERRED_SASL_MECHANISM | |
@robot.logger.info util.inspect(options) | |
@@ -22,6 +23,7 @@ class XmppBot extends Adapter | |
host: options.host | |
port: options.port | |
legacySSL: options.legacySSL | |
+ preferredSaslMechanism: options.preferredSaslMechanism | |
@client.on 'error', @.error | |
@client.on 'online', @.online |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment