Implement get account names function.

This commit is contained in:
Valverde Antonio
2014-07-30 16:05:17 +09:00
parent fe05777e9b
commit 4c5ca95396
8 changed files with 69 additions and 1 deletions

View File

@@ -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([