web/lib/javascripts/session.js in vines-0.3.0 vs web/lib/javascripts/session.js in vines-0.3.1

- old
+ new

@@ -243,11 +243,12 @@ from: from, type: type, thread: thread.text(), text: body.text(), html: html.text(), - received: new Date() + received: new Date(), + node: node }); } return true; }; Session.prototype.handlePresence = function(node) { @@ -264,10 +265,11 @@ status: status.text(), show: show.text(), type: type, offline: type === 'unavailable' || type === 'error', away: show.text() === 'away' || show.text() === 'xa', - dnd: show.text() === 'dnd' + dnd: show.text() === 'dnd', + node: node }; contact = this.roster[from.split('/')[0]]; if (contact) { contact.update(presence); } \ No newline at end of file