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:
parent
060b58973c
commit
2e61911f8c
4 changed files with 52 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue