Skip to content

Commit

Permalink
Merge pull request #36 from freedomjs/dborkan-fixes
Browse files Browse the repository at this point in the history
Fix logout method's continuation callback.
  • Loading branch information
willscott committed Apr 29, 2014
2 parents 5bef2f8 + 1f130a3 commit a3e3e59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "freedom-social-xmpp",
"description": "XMPP Social provider for freedomjs",
"version": "0.0.8",
"version": "0.0.9",
"homepage": "http://freedomjs.org",
"bugs": {
"url": "http://github.com/freedomjs/freedom-social-xmpp/issues",
Expand Down
2 changes: 1 addition & 1 deletion src/socialprovider.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ XMPPSocialProvider.prototype.onOnline = function(continuation) {
continuation(this.vCardStore.getClient(this.id));
};

XMPPSocialProvider.prototype.logout = function(logoutOpts, continuation) {
XMPPSocialProvider.prototype.logout = function(continuation) {
var userId = this.credentials? this.credentials.userId : null;

this.status = 'offline';
Expand Down

0 comments on commit a3e3e59

Please sign in to comment.