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