XMPPJID *roomJID = [XMPPJID jidWithString:@"chat11@conference.local_IP"];
xmppRoom = [[XMPPRoom alloc] initWithRoomStorage:roomStorage jid:roomJID dispatchQueue:dispatch_get_main_queue()];
[xmppRoom activate:[self appDelegate].xmppStream];
[xmppRoom addDelegate:self delegateQueue:dispatch_get_main_queue()];
[xmppRoom joinRoomUsingNickname:@"pandian"
history:nil password:nil];
any help will be much appreciated.