Adium

Ticket #8914 (reopened defect)

Opened 4 months ago

Last modified 3 months ago

XMPP URI for joining muc chatrooms don't

Reported by: bhyde Assigned to: nobody
Priority: normal Milestone: Patches welcome
Component: Jabber/XMPP Version: 1.2
Severity: normal Keywords:
Cc: Patch: None
Pending: 0

Description

This URI <xmpp:jabber@conference.jabber.org?join> is an instance of the format documented here <http://www.xmpp.org/extensions/xep-0045.html#registrar-querytypes> and the registered handler for the xmpp scheme should join the chat room denoted by that JID.

In Adium 1.2 it opens what appears to be a vanilla Jabber IM chat with that JID and displays a transcript of prior conversation. It will do that even if you already are in the chat room. It doesn't show the room's roster, and it doesn't display the muc command menu. If you remove ?join from the URI it does something else.

No doubt this has entanglements in the scheme for creating bookmarks to chatrooms.

Change History

01/14/2008 10:26:58 PM changed by jas8522

  • milestone set to Adium X 1.2.2.

So the current action after clicking such a link is for Adium to load a normal chat window, when it should be creating a multi-user chat (at least that's what it sounds like to me)...

01/14/2008 10:27:28 PM changed by jas8522

Did this work fine in 1.1.4?

01/21/2008 09:30:25 AM changed by evands

  • status changed from new to closed.
  • resolution set to fixed.

(In [22448]) Support joining XMPP conferences via xmpp://foo@conference.bar.org?join and xmpp://foo@conference.bar.org?join;password=blah URIs. Fixes #8914.

01/21/2008 09:31:15 AM changed by evands

(In [22449]) Merged [22448]: Support joining XMPP conferences via xmpp://foo@conference.bar.org?join and xmpp://foo@conference.bar.org?join;password=blah URIs. Fixes #8914.

01/23/2008 06:21:37 PM changed by bhyde

Thanks for working on this. But if it looks like there is a mistake. The xmpp uri are a bit odd. The double slash is actually exceptional, when it appears it prefixes the name of the who's making the connection, rather to whom the connection is being made. See section 2.3 in <http://tools.ietf.org/html/rfc4622>.

Assuming I'm reading the spec right xmpp://bob@s1.bar.org/bar@s2.gum.net?join is the syntax that Bob uses to go into the bar at s2.gum.net using the persona who's JID is bob@s1.bar.org.

01/23/2008 06:36:26 PM changed by stpeter

The XMPP URIs are not odd, they're just not hierarchical like many other URIs. Think mailto, not http. :)

To join the room foo on the XMPP chat service conference.bar.org, the proper URI is:

xmpp:foo@conference.bar.org?join

I think it's probably a good idea to ignore XMPP URIs with the double-slash form because they are used only in some special situations.

01/25/2008 11:43:55 AM changed by edr1084

  • status changed from closed to reopened.
  • resolution deleted.

01/25/2008 11:44:21 AM changed by edr1084

Reopened as per user request.

01/30/2008 01:06:59 PM changed by evands

  • milestone changed from Adium X 1.2.2 to Patches welcome.

Someone who cares about these URIs being better supported needs to pick up this ticket.