Skip to content

Commit

Permalink
feat: add showLoginBox to public api
Browse files Browse the repository at this point in the history
  • Loading branch information
sualko committed Feb 21, 2019
1 parent 0e4f6ac commit ee36ba5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/v1/index.ts
Expand Up @@ -4,6 +4,7 @@ import Roster from '../../ui/Roster'
import { IPlugin } from '../../plugin/AbstractPlugin'
import FormWatcher, { SettingsCallback } from '../../FormWatcher'
import { disconnect } from './disconnect';
import loginBox from '@ui/dialogs/loginBox';

export { disconnect };
export { start, startAndPause } from './start'
Expand Down Expand Up @@ -101,3 +102,7 @@ export function exportAllOptions() {
[Client.getOptions().getId()]: Client.getOptions().export()
};
}

export function showLoginBox(username?: string) {
loginBox(username);
}

0 comments on commit ee36ba5

Please sign in to comment.