Fixes typo for the user id node in the presence.
This commit is contained in:
parent
e01713f6f8
commit
878713a15d
|
@ -19,7 +19,7 @@
|
|||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<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 -->
|
||||
<link rel="stylesheet" href="css/font.css?v=6"/>
|
||||
<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);
|
||||
}
|
||||
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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue