Fixes typo for the user id node in the presence.

This commit is contained in:
hristoterezov 2015-04-09 16:57:32 +03:00
parent e01713f6f8
commit 878713a15d
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib --> <script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib --> <script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script> <script src="interface_config.js?v=5"></script>
<script src="libs/app.bundle.js?v=55"></script> <script src="libs/app.bundle.js?v=56"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin --> <script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=6"/> <link rel="stylesheet" href="css/font.css?v=6"/>
<link rel="stylesheet" href="css/toastr.css?v=1"> <link rel="stylesheet" href="css/toastr.css?v=1">

View File

@ -15864,7 +15864,7 @@ module.exports = function(XMPP, eventEmitter) {
console.info("Ignore focus: " + from + ", real JID: " + member.jid); console.info("Ignore focus: " + from + ", real JID: " + member.jid);
} }
else { else {
var id = $(pres).find('>userID').text(); var id = $(pres).find('>userId').text();
var email = $(pres).find('>email'); var email = $(pres).find('>email');
if (email.length > 0) { if (email.length > 0) {
id = email.text(); id = email.text();

View File

@ -219,7 +219,7 @@ module.exports = function(XMPP, eventEmitter) {
console.info("Ignore focus: " + from + ", real JID: " + member.jid); console.info("Ignore focus: " + from + ", real JID: " + member.jid);
} }
else { else {
var id = $(pres).find('>userID').text(); var id = $(pres).find('>userId').text();
var email = $(pres).find('>email'); var email = $(pres).find('>email');
if (email.length > 0) { if (email.length > 0) {
id = email.text(); id = email.text();