Commit e5c44919 authored by JC Brand's avatar JC Brand

Bugfix.

When a user has no contacts, a subscribing contact doesn't appear (due to the roster being hidden).
parent 65bbe800
......@@ -1557,7 +1557,7 @@
xmppchat.connection.roster.authorize(bare_jid);
} else {
$.getJSON(portal_url + "/xmpp-userinfo?user_id=" + Strophe.getNodeFromJid(jid), $.proxy(function (data) {
this.addRosterItem(bare_jid, 'none', 'request', data.fullname);
this.addRosterItem(bare_jid, 'none', 'request', data.fullname, {'isLast': true});
}, this));
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment