Implement pop up add account menu (for Google Account).

This commit is contained in:
Valverde Antonio
2014-07-02 18:37:39 +09:00
parent 9125816d07
commit d294906a65
8 changed files with 64 additions and 1 deletions

View File

@@ -331,6 +331,16 @@ module.exports = function(options) {
)
])
})
.on('account.add', function(channel, responseChannel) {
joinChannel(responseChannel)
push.send([
channel
, wireutil.transaction(
responseChannel
, new wire.AccountAddMenuMessage()
)
])
})
.on('ringer.set', function(channel, responseChannel, data) {
joinChannel(responseChannel)
push.send([