Fixes typo for the user id node in the presence.

pull/232/merge 478
hristoterezov 10 years ago
parent e01713f6f8
commit 878713a15d
  1. 2
      index.html
  2. 2
      libs/app.bundle.js
  3. 2
      modules/xmpp/strophe.emuc.js

@ -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">

@ -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();

@ -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();

Loading…
Cancel
Save