[jdev] Re: Mu-Conference room VOICE by default (entering a room)

Ettore De Maio ettoredemaio at yahoo.it
Wed Feb 21 09:40:25 CST 2007


SORRY 
   
  I mistaked the last point:
   
  the second jid can READ public messages from the room, but NOT SEND it!!!
   
   
   
  Ettore De Maio <ettoredemaio at yahoo.it> ha scritto:
    hy all, 
   
  i've installed jabberd 2.0 and Mu-conference over JCR.
  it works fine: i can create chat rooms, join it and so on
   
  but, when i try to send a message TO ALL inside a room, i get an error of type "not allowed" (or something similar), except if the sender is the jid who created the room...
   
  i'd like to have VOICE GRANTED TO ALL participants... so i enabled the <dynamic> tag in muc.xml, and when an user creates a room in a certain way, it is created with this attributes:
  - semi-anonymous
  - public
  - open
  - unsecured
  - temporary
  - unmoderated
  (i've "IQed" this info)
   
  in xmpp specs i readed that in such a room, voice is granted by default....
   
  but, when i join a temporary room who's already created, i've got no VOICE....
   
  note: i create the room in that way:
   
  <presence from='myjid at myhost/myres' to='room at conference.myhost/mynick'>
     <x xmlns='http://jabber.org/protocol/muc'/>
</presence>

  after then, i "unlock" the room:
   
  <iq from='myjid at myhost/myres' to='room at conference.myhost' type='set'>
<query xmlns='http://jabber.org/protocol/muc#owner'>
<x xmlns='jabber:x:data' type='submit'/>
</query>
</iq>

  finally, i try to enter with another jid (expecting to obtain voice inside that room):
   
  <presence from='myjid2 at myhost/myres' to='room at conference.myhost/mynick2'>
<x xmlns='http://jabber.org/protocol/muc#user'>
   <item affiliation='owner' role='participant'/>
</x>
</presence>

  but as i said, myjid2 doesn't receive public msgs from the room...
   
  some idea?
   
  Thanks for the help
   
  EDM
   
    
---------------------------------
  L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

 		
---------------------------------
 L'email della prossima generazione? Puoi averla con la  nuova Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20070221/428bc904/attachment-0002.htm>


More information about the JDev mailing list