mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-21 13:25:17 +02:00
A bit of refactoring and new functionality for removeAccount method.
This commit is contained in:
@@ -332,13 +332,13 @@ module.exports = function(options) {
|
||||
)
|
||||
])
|
||||
})
|
||||
.on('account.remove', function(channel, responseChannel) {
|
||||
.on('account.remove', function(channel, responseChannel, data) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.AccountRemoveMessage()
|
||||
, new wire.AccountRemoveMessage(data)
|
||||
)
|
||||
])
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user