1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-24 02:02:22 -05:00

auto navigate to page for incoming calls

This commit is contained in:
Henrik Joreteg 2013-10-16 13:44:24 -07:00
parent 04d1977397
commit fd43223421
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,8 @@ module.exports = HumanModel.define({
type: 'call',
initialize: function (attrs) {
this.contact.onCall = true;
// temporary, this won't stay here
app.navigate('/chat/' + this.contact.jid);
},
session: {
contact: 'object',

View File

@ -1,5 +1,5 @@
CACHE MANIFEST
# 0.0.1 1381954817907
# 0.0.1 1381956210504
CACHE:
/app.js