Hi! On Mon, Aug 10, 2009 at 22:39, Niklas Gustavsson<nik...@protocol7.com> wrote: > On Mon, Aug 10, 2009 at 10:31 PM, Michael Jakl<jakl.mich...@gmail.com> wrote: > I would say that the module should deal with that. So, subdomain > routing first. Everything matching the subdomain goes to the handler > dictionary. The SubdomainHandlerDictionery.get() will have to do the > namespace routing in the case where a module works like the pubsub > module (and the MUC module btw). Makes sense?
Yes. Probably it's still a good idea to check if a module registers a subdomain *and* one or more namespaces, which would be a hard-to-find bug for the modules developer (but is easy to check for us, I guess). Michael