rem: XMPP.nickFor(presence.account, address) 
add: XMPP.nickFor(presence.account, address), 
context: function showingPopup(event) {    const ns_muc = 'http://jabber.org/protocol/muc';    const ns_muc_user = 'http://jabber.org/protocol/muc#user';    var xulMenupopup = event.target;    function makeContactItem(account, address, label, show) {        var xulMenuitem = document.createElement('menuitem');        xulMenuitem.setAttribute('account', account);        xulMenuitem.setAttribute('address', address);        xulMenuitem.setAttribute('label', label);        xulMenuitem.setAttribute('availability', 'available');        xulMenuitem.setAttribute('show', show);        xulMenuitem.setAttribute('class', 'menuitem-iconic xmpp-presence');                return xulMenuitem;    }    // Contacts    var contactItems = XMPP.cache.fetch({        event     : 'presence',        direction : 'in',        stanza    : function(s) {            return s.@type == undefined && s.ns_muc_user::x == undefined;        }    }).map(function(presence) {        var address = XMPP.JID(presence.stanza.@from).address;        return makeContactItem(presence.account,                               address,                               XMPP.nickFor(presence.account, address)                               presence.stanza.show.toString());    });    var roomItems = XMPP.cache.fetch({        event     : 'presence',        direction : 'out',        stanza    : function(s) {            return s.ns_muc::x != undefined; // && s.@type == undefined ?        }    }).map(function(presence) {        var address = XMPP.JID(presence.stanza.@to).address;        return makeContactItem(presence.account,                               address,                               address);    });    contactItems.concat(roomItems).sort(function(xulItem1, xulItem2) {        return (xulItem1.getAttribute('label').toLowerCase() >                xulItem2.getAttribute('label').toLowerCase());    }).forEach(function(xulItem) {        xulMenupopup.appendChild(xulItem);    });}
meta: 1705	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1705/8b3cf19e8cdedba20e0cbe711fd03aabacc67810/send_to.js/buggy/chrome/content/send_to.js