Permalink
Browse files

Added host option.

  • Loading branch information...
1 parent be05cb4 commit e6a6f3c46b55f8f9fed988ec36d9a5bcb4e110d9 @statico statico committed Sep 10, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 examples/echo_bot_oauth.js
  2. +2 −1 lib/xmpp/client.js
@@ -10,6 +10,7 @@ if (argv.length != 4) {
}
var cl = new xmpp.Client({ jid: argv[2],
+ host: 'talk.google.com',
oauth2_token: argv[3],
oauth2_auth: 'http://www.google.com/talk/protocol/auth' });
cl.on('online',
View
@@ -49,7 +49,8 @@ var IQID_SESSION = 'sess',
* var gtalk = new xmpp.Client({
* jid: 'me@gmail.com',
* oauth2_token: 'xxxx.xxxxxxxxxxx', // from OAuth2
- * oauth2_auth: 'http://www.google.com/talk/protocol/auth'
+ * oauth2_auth: 'http://www.google.com/talk/protocol/auth',
+ * host: 'talk.google.com'
* });
*
* Example SASL EXTERNAL:

0 comments on commit e6a6f3c

Please sign in to comment.