Implement account check (if it's already added).

This commit is contained in:
Valverde Antonio
2014-07-30 19:25:09 +09:00
parent 060b58973c
commit 2e61911f8c
4 changed files with 52 additions and 1 deletions

View File

@@ -218,6 +218,13 @@ module.exports = function ControlServiceFactory(
return sendTwoWay('screen.capture')
}
this.checkAccount = function(type, account) {
return sendTwoWay('account.check', {
type: type
, account: account
})
}
this.removeAccount = function(type, account) {
return sendTwoWay('account.remove', {
type: type