1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

Implement account removal.

This commit is contained in:
Valverde Antonio 2014-06-25 17:47:45 +09:00
parent a8da19472d
commit 3a3937ec2f
9 changed files with 78 additions and 1 deletions

View file

@ -321,6 +321,16 @@ module.exports = function(options) {
)
])
})
.on('account.remove', function(channel, responseChannel) {
joinChannel(responseChannel)
push.send([
channel
, wireutil.transaction(
responseChannel
, new wire.AccountRemoveMessage()
)
])
})
.on('group.invite', function(channel, responseChannel, data) {
joinChannel(responseChannel)
push.send([