On Tue, 2011-08-16 at 10:49 +0100, Felix Ingram wrote: > In the (distant) past I've used a specific MUC branch for a couple of > bots. Has this been merged to the default branch or should I look to > use the wokkel-muc-client-support-24-2 (which was updated quite > recently). > > Thanks in advance for the help.
Hi! Half a month ago, Goffi got me triggered to finish the work on this branch, and indeed I've been doing commits fairly often since. The branch can be found here: http://hg.ik.nu/ralphm/wokkel-muc-client-support-24-2 It is mirrored at: https://bitbucket.org/ralphm/wokkel (wokkel-muc-client-support-24-2) git://github.com/ralphm/wokkel.git (muc-client) All changes are basically cleanups and making the code more consistent with the rest of Wokkel. Some highlights: * Use the newer presence handling in wokkel.xmppim. * Base messages on wokkel.generic.Stanza. * Changed request objects from IQ to the new wokkel.generic.Request. * Expect JID instances instead of unicode objects. * Role/Affilation management now doesn't affect the Room object that might exist for a room. Expect changes to method changes and result types. I am also probably going to split off the protocol bits from the room administration: * Simple bots don't need all the state-keeping. * End-user clients might want a more integrated form of state keeping. * The current API is not consistent in when it expects or returns Room or User instances. * Condition code handling is not properly implemented right now. * Presence changes are not handled correctly. * For a complete feature set, it would also need to use DiscoClientProtocol for doing service discovery. On top of that, the administration parts lack proper tests and splitting it out makes it easier to do that. From what I am thinking now, it could be a ready-to-user example implementation of a stateful MUC client handler. Let me know how the updated branch works for you. Comments welcome! -- ralphm _______________________________________________ Twisted-Jabber mailing list [email protected] https://mailman.ik.nu/mailman/listinfo/twisted-jabber
