Hi!

On Sun, Aug 9, 2009 at 22:35, Niklas Gustavsson<nik...@protocol7.com> wrote:
> In the MUC XEP, implementations should also support the old groupchat
> protocol. This was defined before the extension-based-on-namespaces
> approach was invented and thus use regular stanzas without namespaces,
> for example:
> Enter a room:
> <presence
>    from='ha...@shakespeare.lit/pda'
>    to='darkc...@chat.shakespeare.lit/thirdwitch'/>
>
> "darkc...@chat.shakespeare.lit" in the example is a room in the group chat.
>
> What would be the best way to route such messages to the appropriate
> handler? Maybe component support will handle this by being able to
> replace the default presence handler completely?

Routing via subdomain seems to be the only viable alternative. Only
broadcasting to all modules might work too, but doesn't sound as
clean.

I don't know whether it's a good idea to register modules with a
specific "to" address? But that is very close to the subdomain routing
of the component support... .

Michael

Reply via email to