Skip to content

Commit

Permalink
Fixes #107
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Oct 20, 2018
1 parent e83a8e2 commit c439541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ Provisioning.commands.logout = new Provisioning.Command({
return;
}
const store = main._bridge.getUserStore();
return store.getMatrixUser(userId).then((matrixUser) => {
return store.getMatrixUser(user_id).then((matrixUser) => {
matrixUser = matrixUser ? matrixUser : new BridgeLib.MatrixUser(userId);
const accounts = matrixUser.get("accounts") || {};
delete accounts[slack_id];
Expand Down

0 comments on commit c439541

Please sign in to comment.