1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-23 16:18:48 -05:00

Fetch disco & timezone per resource.

This commit is contained in:
Lance Stout 2013-09-12 23:50:27 -07:00
parent 5de45e0c12
commit 0a4e0f9edd

View File

@ -155,6 +155,11 @@ module.exports = function (client, app) {
resource = new Resource(pres);
resource.id = pres.from.full;
contact.resources.add(resource);
if (!pres.caps) {
resource.fetchDisco();
}
resource.fetchTimezone();
}
}
});