-2
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.

1 Answers1

0

Check the hostName and port number you have set for the XMPPStream object.

let stream = XMPPStream()
stream.hostName = "hostName"
stream.hostPort = PORT_NUM
Amruta
  • 56
  • 3
  • Thanks a lot @Amruta now the delegate methods did create and did join gets call. but the newly created group not showing in openfire. can you please guide in this?. – G. Vignesh Jul 14 '16 at 12:34