Opened 3 years ago

Last modified 21 months ago

#16982 new defect

Gratuicous problems working with Hipchat

Reported by: mi Owned by: deryni
Milestone: Patches Needing Review Component: XMPP
Version: 2.10.12 Keywords:
Cc: swistak35


For whatever reasons, Hipchat's Jabber proxy insists on requiring usernames like 1_231 instead of the actual logins or names.

However, once one figures one's "username" out (by going to their page), connecting and chatting to individuals works.

Entering chat-rooms, however, exposes three shortcomings in Pidgin:

  1. The default Handle in the "Join a Chat" dialog is always populated by username (such as 1_321). For whatever reasons, Hipchat is particular about it and insists on using one's Full Name there. The Pidgin bug is that one has to overwrite the Handle every time -- the last-entered value is not retained.
  2. The other problem is, even if one does overwrite the Handle with his Full Name, trying to join a room through the list (which pops up after pressing the "Room List" button) still incorrectly uses the account's username, instead of the specified handle. The only way to join a room with the desired handle is by typing the room name by hand.
  3. Finally, when the incorrect handle is used, Hipchat responds with a meaningful message (copy-pasted from debug output):
    (13:52:13) jabber: Recv (ssl)(681): <presence from='' type='error' to='||proxy||5232'><priority>1</priority><c xmlns='' node='' ver='lV6i//bt2U8Rm0REcX8h4F3Nk3M=' ext='voice-v1 camera-v1 video-v1' hash='sha-1'/><x xmlns=''/><error code='406' type='modify'><not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Please use the nickname "FirstName LastName" instead of "1_732" when joining rooms. Setup instructions for common clients are available at</text></error></presence>

Unfortunately, instead of the above message, Pidgin says only "406: Not Acceptable". The textual part of Jabber-server's response should be shown (in addition to the error code) and any URLs in the text should be clickable.

I realize, that the above three problems may need to be three separate tickets, but am not sure and so erring on the side of less noise. Thank you.

Attachments (3)

patch-fullname (1.7 KB) - added by mi 3 years ago.
If available, use the Full Name as the default handle, when joining chat-rooms
patch-jabber-error-details (484 bytes) - added by mi 3 years ago.
When reporting a Jabber error, include cdata from the <text> node, if available
alias-as-room-handle.patch (908 bytes) - added by Nicop 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 3 years ago by mi

Argh, the fourth problem:

  1. If you disconnect from the server, re-entering the same chat-room(s) upon returning will not work because, once again, Pidgin will attempt to use your username (like 1_321) as the Handle instead of what you painstakingly specified, when initially entering.
Last edited 3 years ago by mi (previous) (diff)

Changed 3 years ago by mi

If available, use the Full Name as the default handle, when joining chat-rooms

Changed 3 years ago by mi

When reporting a Jabber error, include cdata from the <text> node, if available

comment:2 Changed 3 years ago by mi

The attachments I just added solve all of the problems I enumerated. Sort of... When no handle is given, the default is parsed from the account's vCard.

Unfortunately, it is still impossible to alter the desired handle, when joining a chat-room from the list. Also, the last-used handle is still not recorded.

Loving care is still needed by this ticket.

Changed 2 years ago by Nicop

comment:3 Changed 2 years ago by Nicop

Thanks a lot for your patch, it works perfectly when using the chat room. You can actually alter it if you click on "Add Chat" from the room list, although it will also add the chat to the buddy list. For me not being able to customize the handle when I temporarily join a room is not a huge loss as long

I added a patch to handle the case when your are invited in a chat room, for instance when your join a room from hipchat web application.

I only have Pidgin 2.10.9 available (Ubuntu 14.04 LTS). Could you test that it works on latest version?

comment:5 Changed 21 months ago by Robby

  • Milestone set to Patches Needing Review
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!