athoune/node-xmpp-client — pull request #2 by alexdavid (2012-12-12 00:42:35+00:00)
Title: Roster uses name attribute if available

Roster was returning JID for the name in the roster object. XMPP supports optional custom names to be sent with the roster. This patch uses that name if available and falls back on the JID if no name is provided.