1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-25 18:52:20 -05:00

Add jingleResources field to contacts

This commit is contained in:
Lance Stout 2013-10-14 14:11:32 -07:00
parent f8c946a60d
commit 2ae7cb05d1
2 changed files with 9 additions and 1 deletions

View File

@ -135,6 +135,14 @@ module.exports = HumanModel.define({
fn: function () { fn: function () {
return this.unreadCount > 0; return this.unreadCount > 0;
} }
},
jingleResources: {
cache: false,
fn: function () {
return this.resources.filter(function (res) {
return res.supportsJingleMedia;
});
}
} }
}, },
collections: { collections: {

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# 0.0.1 1381729479369 # 0.0.1 1381784954237
CACHE: CACHE:
/app.js /app.js