mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-24 17:55:13 +02:00
Implement get account names function.
This commit is contained in:
@@ -362,6 +362,16 @@ module.exports = function(options) {
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('account.get', function(channel, responseChannel, data) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.AccountGetMessage(data.type)
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('sd.status', function(channel, responseChannel) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
|
||||
Reference in New Issue
Block a user