Permalink
Browse files

missing that when retrying to connect via bosh

  • Loading branch information...
1 parent a49e7be commit 50c5e9803a49e559784d4691bbada97870bafb79 @dodo committed Jun 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/xmpp/bosh.js
View
@@ -154,7 +154,7 @@ BOSHConnection.prototype.request = function(attrs, children, cb, retry) {
if (err) {
if (retry < that.maxHTTPRetries)
- return request(attrs, children, cb, retry + 1);
+ return that.request(attrs, children, cb, retry + 1);
else
return cb(err);
}

0 comments on commit 50c5e98

Please sign in to comment.