Skip to content
Browse files

XMPP object: when opening session, ignore node part if not provided.

  • Loading branch information...
1 parent fee763b commit 9a36a38756e77e30afe83aa48ab73ca30c5bc97d @bard bard committed Mar 13, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 modules/xmpp_impl.jsm
View
5 modules/xmpp_impl.jsm
@@ -402,7 +402,10 @@ function open(opts, continuation) {
}
});
- service.open(opts.node + '@' + opts.domain, connector);
+ service.open((opts.node ?
+ opts.node + '@' + opts.domain :
+ opts.domain),
+ connector);
}
function close(jid) {

0 comments on commit 9a36a38

Please sign in to comment.
Something went wrong with that request. Please try again.