Hi David, David Sutton wrote: > I will look into these, however I need a little more information from > you. Can you show me the full xml sent and received when you are > changing room options. By the sounds of things, your request to change > the options is being ignored. Also, try running the jabberd MUC is > connected to in debug mode (-D command line switch). There will be clues > in the output from there too.
There is perhaps a better alternative. Check out my app from SourceForge: "http://sourceforge.net/cvs/?group_id=68334", be sure Tcl/Tk (wish) is installed on your Linux box (found on all major distros), cd coccinella/; ./Whiteboard.tcl, and pick the Jabber/Debug menu to get xml IO. From there on it is self explanatory. The debug output from jabberd doesn't tell me anything... (except that the persistant room is killed after 5 minutes) In any case here is the xml IO during room creation/configuration: (Sorry for the size) SEND: <presence to='[EMAIL PROTECTED]/mats' id='1006'><x xmlns='http://jabber.org/protocol/muc'/></presence> RECV: <presence to='[EMAIL PROTECTED]/coccinella' id='1006' from='[EMAIL PROTECTED]/mats'><x xmlns='http://jabber.org/protocol/muc#user'><item jid='[EMAIL PROTECTED]/coccinella' affiliation='owner' role='moderator'/></x><created xmlns='http://jabber.org/protocol/muc#owner'/></presence> SEND: <iq type='get' id='1007' to='[EMAIL PROTECTED]'><query xmlns='http://jabber.org/protocol/muc#owner'/></iq> RECV: <message type='groupchat' to='[EMAIL PROTECTED]/coccinella' from='[EMAIL PROTECTED]'><body>This room supports the MUC protocol.</body></message><message type='groupchat' to='[EMAIL PROTECTED]/coccinella' from='[EMAIL PROTECTED]'><body>This room is locked from entry until configuration is confirmed.</body></message><message type='groupchat' from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]/coccinella'><body>mats has become available</body></message> RECV: <iq type='result' id='1007' to='[EMAIL PROTECTED]/coccinella' from='[EMAIL PROTECTED]'><query xmlns='http://jabber.org/protocol/muc#owner'><x xmlns='jabber:x:data' type='form'><title>Room configuration</title><instructions>Your room "fun" has been created! The default configuration is as follows: - No logging - No moderation - Up to 30 participants - No password required - No invitation required - Room is not persistent - Only admins may change the subject To accept the default configuration, click OK. To select a different configuration, please complete this form</instructions><field type='hidden' var='form'><value>config</value></field><field type='text-single' label='Room Title' var='title'><value>fun</value></field><field type='text-multi' label='Short description of room' var='description'><value/></field><field type='fixed'><value>The following messages are sent to legacy clients.</value></field><field type='text-single' label='Message for user leaving room' var='leave'><value>has left</value></field><field type='text-single' label='Message for user joining room' var='join'><value>has become available</value></field><field type='text-single' label='Message for user renaming nickname in room' var='rename'><value>is now known as</value></field><field type='boolean' label='Allow users to change Subject?' var='subject'><value>0</value></field><field type='list-single' label='Maximum number of Participants' var='participants'><value>30</value><option label='1'><value>1</value></option><option label='10'><value>10</value></option><option label='20'><value>20</value></option><option label='30'><value>30</value></option><option label='40'><value>40</value></option><option label='50'><value>50</value></option><option label='None'><value>0</value></option></field><field type='boolean' label='Allow users to query other users?' var='privacy'><value>1</value></field><field type='boolean' label='Make room publicly searchable?' var='public'><value>1</value></field><field type='boolean' label='Make room persistant?' var='persistant'><value>0</value></field><field type='boolean' label='All clients considered legacy (shown messages)' var='legacy'><value>1</value></field><field type='boolean' label='Make room moderated?' var='moderated'><value>0</value></field><field type='fixed'><value>By default, new users entering a moderated room are only visitors</value></field><field type='boolean' label='Default users as members?' var='defaulttype'><value>0</value></field><field type='boolean' label='Ban private messages?' var='privmsg'><value>0</value></field><field type='boolean' label='Make room members only? (require invitation)' var='invitation'><value>0</value></field><field type='fixed'><value>By default, only admins can send invites in an invite-only room</value></field><field type='boolean' label='Allow users to send invites?' var='invites'><value>0</value></field><field type='boolean' label='Make room password protected?' var='password'><value>0</value></field><field type='fixed'><value>If a password is required to enter this room, you must specify the password below.</value></field><field type='text-private' label='Password' var='secret'><value/></field><field type='list-single' label='Who may discover Real JIDs' var='whois'><value>admins</value><option label='Room Owner and Admins Only'><value>admins</value></option><option label='Anyone'><value>anyone</value></option></field><field type='boolean' label='Enable logging?' var='logging'><value>0</value></field><field type='list-single' label='Logfile format' var='logformat'><value>text</value><option label='XML'><value>xml</value></option><option label='XHTML'><value>xhtml</value></option><option label='Plain Text'><value>text</value></option></field></x></query></iq> SEND: <iq type='set' id='1008' to='[EMAIL PROTECTED]'><query xmlns='http://jabber.org/protocol/muc#owner'><x xmlns='jabber:x:data' type='form'><x xmlns='jabber:x:data' type='submit'><field var='description'><value> </value></field><field var='moderated'><value>0</value></field><field var='leave'><value>has left</value></field><field var='privacy'><value>1</value></field><field var='logging'><value>0</value></field><field var='defaulttype'><value>0</value></field><field var='rename'><value>is now known as</value></field><field var='title'><value>Fun Room</value></field><field var='logformat'><value>text</value></field><field var='password'><value>0</value></field><field var='invitation'><value>0</value></field><field var='persistant'><value>1</value></field><field var='legacy'><value>1</value></field><field var='public'><value>1</value></field><field var='privmsg'><value>0</value></field><field var='join'><value>has become available</value></field><field var='subject'><value>0</value></field><field var='whois'><value>admins</value></field><field var='invites'><value>0</value></field><field var='participants'><value>30</value></field></x></x></query></iq> RECV: <message type='groupchat' to='[EMAIL PROTECTED]/coccinella' from='[EMAIL PROTECTED]'><body>Configuration confirmed: This room is now unlocked.</body></message> RECV: <iq type='result' id='1008' to='[EMAIL PROTECTED]/coccinella' from='[EMAIL PROTECTED]'/> _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
