Niklas Gustavsson wrote: > On Sun, Aug 16, 2009 at 12:38 PM, Bernd Fondermann<[email protected]> > wrote: >> have you tested entering a room from an actual XMPP client? >> I think MUC only works with directed presence - which is currently not >> implememented by vysper. maybe you are already aware of this (VYSPER-6). > > No, I have so far not done any integration testing at all (just about > to start) of the MUC code. > > Could you elaborate a bit on what would be further needed? Currently, > the MUC module will sign up to get all stanzas sent for a subdomain. > This, I believe, includes all presence stanzas as well. The MUC module > then handles entering and exiting rooms (that's what is currently > supported).
Sure. XMPP clients + servers support sending 'spontaneous' presence stanzas to jids which are not a contact (MUC rooms, for example). This is not handled by the server yet (see PresenceAvailabilityHandler.handleOutboundDirectedPresence). For a session, directed presences must be recorded and handled appropriately (see http://tools.ietf.org/html/draft-ietf-xmpp-3921bis-00#section-4.6 ). Otherwise, MUC won't work (so I set VYSPER-6 to be blocking MUC as you might have noticed). Bernd
