Connect to XMPPRoom
<p>Im using XMPPframework to create a chat for iphone. Im trying to connect the user to a certain chat room, but I can't do it.</p>

<p>This is the code I have:</p>

<pre><code>BOOL activado = [salaChat activate:[[self appDelegate] xmppStream]];    
[salaChat joinRoom];
[salaChat sendMessage:@"HELLO"];

BOOL unido = [salaChat isJoined];
</code></pre>

<p>Being salaChat a XMMPPRoom object. </p>

<p>"activado" is always true but "unido" never.</p>

<p>test_android is the username and "retiro" is the room id. Maybe the mistake is there but I tried many ways and still nothing.</p>

<p>Any ideas?</p>

<p>Thanks.</p>
