Multiple instances of some gateways
Imported issue was from daniel:
While this is kind of a "not yet" issue, I would like to work out a mechanism in which you can set up multiple instances of a transport. IRC would benefit from this quite a bit.
Note that I'm trying to hide the complexity from the user, and send it towards the admin. PyIRCt asks you for a lot of information as a user. irc server, port, username, password, nickname, encoding. That's a lot to throw at an end user. What I'm thinking is the possibility of something like... the admin could set up:
irc-freenode.jabber.whatever = irc.freenode.net:7000
irc-ninjas.jabber.whatever = irc.ninjas.org:6667
Something like that. Trying to work this out in my head.
PS in case you are curious, is the issue about multiple accounts per gateway. In case you want to vote for it or watch it or something. =)
The concept of adding multiple accounts on the same transport is in some other issue on this tracker, but it requires some pretty big logistical changes, both to Kraken, and in terms of XMPP has no official way of handling this. I have ideas on how to handle it and will probably end up publishing an XEP for it.
That said, you might have some success going into GatewayPlugin.java, finding where it sets up the transports (should be obvious), and changing, for example, AIM to point to the MSNTransport. I can not tell you if that will actually work, but it might be worth a try.
Is it possible to connect to multiple MSN accounts?
I have no need for the other transports. Is there a way to reconfigure one of the other transports to connect to MSN?
Nope, no update. It's going to be something that occurs "in the future" unless someone else implements it for me and sends me a patch. You could probably hack Kraken a bit to set up a set number of irc and xmpp instances, but I'm guessing you want "infinite" so to speak. (ie nothing has to be known about the servers they're connecting to) You can set the hostname to * (I think) in the settings console for XMPP and it'll let people set their username as like firstname.lastname@example.org and it'll look up the domain itself and let you log into anything. But of course that's still limited to one at a time. There's currently no such support in the IRC transport, though creating a patch to do so wouldn't be too hard – but the transport does make some assumptions about freenode here and there I believe that may break under other servers.
Is there any update on this issue? I have a project that requires such a capability. Simple for the user is not the most important concern in this case, but actual capability is. Interested in multiple irc and xmpp instances.