mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Implement account removal.
This commit is contained in:
parent
a8da19472d
commit
3a3937ec2f
9 changed files with 78 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue