Comment 3 for bug 307009

Revision history for this message
Jehan (jehan-launchpad) wrote :

Yes someone pointed me to this possibility this morning. I had no time to test it before now. Note that I hadn't seen it
because the full version of createChannel is not documented in API: channel or API: event on your wiki.

So it seems to work fine with a few "issues":

1/ I wanted to be able to redefine the identity. Mine would be a category "client", but type "bot". And I wanted to rename the name (here it displays "xmpp4moz").

2/ My plugin was made to support caps (XEP-0115) as well. The issue is that caps work by getting a service discovery as well and xmpp4moz doesn't support it, but my plugin did. Now with this method, my plugin doesn't.

I understand your concern about using xmpp4moz for another plugin. Anyway mine is made to have its resource on its own anyway. So even with another plugin using it on the same Firefox instance, it won't disturb... They can cohabit, but still are not connecting with the same resource.