Skip to content

Instantly share code, notes, and snippets.

@markstory
Created October 25, 2012 01:41
Show Gist options
  • Save markstory/3950003 to your computer and use it in GitHub Desktop.
Save markstory/3950003 to your computer and use it in GitHub Desktop.
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