From 878713a15dd91fcd7d9028398809d71c0cb4866f Mon Sep 17 00:00:00 2001 From: hristoterezov Date: Thu, 9 Apr 2015 16:57:32 +0300 Subject: [PATCH] Fixes typo for the user id node in the presence. --- index.html | 2 +- libs/app.bundle.js | 2 +- modules/xmpp/strophe.emuc.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index fbb98060e..20433aabd 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ - + diff --git a/libs/app.bundle.js b/libs/app.bundle.js index ce700dc4f..fc6f59338 100644 --- a/libs/app.bundle.js +++ b/libs/app.bundle.js @@ -15864,7 +15864,7 @@ module.exports = function(XMPP, eventEmitter) { console.info("Ignore focus: " + from + ", real JID: " + member.jid); } else { - var id = $(pres).find('>userID').text(); + var id = $(pres).find('>userId').text(); var email = $(pres).find('>email'); if (email.length > 0) { id = email.text(); diff --git a/modules/xmpp/strophe.emuc.js b/modules/xmpp/strophe.emuc.js index 4309729a4..76d87d40a 100644 --- a/modules/xmpp/strophe.emuc.js +++ b/modules/xmpp/strophe.emuc.js @@ -219,7 +219,7 @@ module.exports = function(XMPP, eventEmitter) { console.info("Ignore focus: " + from + ", real JID: " + member.jid); } else { - var id = $(pres).find('>userID').text(); + var id = $(pres).find('>userId').text(); var email = $(pres).find('>email'); if (email.length > 0) { id = email.text();