1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2025-02-16 15:10:11 -05:00

Go to chat page when accepting call

This commit is contained in:
Lance Stout 2013-10-15 21:47:16 -07:00
parent 8b0c96f654
commit 59dceeee59

View File

@ -40,6 +40,8 @@ module.exports = HumanView.extend({
app.api.jingle.startLocalMedia(null, function () {
self.model.jingleSession.accept();
self.model.state = 'active';
app.navigate('/chat/' + self.model.contact.jid);
self.model.contact.onCall = true;
});
return false;
},