1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-06 03:50:04 +02:00

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

@ -332,6 +332,16 @@ module.exports = function(options) {
)
])
})
.on('account.check', function(channel, responseChannel, data){
joinChannel(responseChannel)
push.send([
channel
, wireutil.transaction(
responseChannel
, new wire.AccountCheckMessage(data)
)
])
})
.on('account.remove', function(channel, responseChannel, data) {
joinChannel(responseChannel)
push.send([