mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Implement account check (if it's already added).
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user