robbiehanson XMPPframework를 사용하여 대화방을 만들려고합니다.iOS XMPP 그룹 채팅 구현
XMPPRoomMemoryStorage *rosterstorage = [[XMPPRoomMemoryStorage alloc] init];
XMPPRoom *xmppRoom = [[XMPPRoom alloc] initWithRoomStorage:rosterstorage jid:[XMPPJID jidWithString:@"[email protected]/room"] dispatchQueue:dispatch_get_main_queue()];
[xmppRoom configureRoomUsingOptions:nil];
[xmppRoom activate:[UIAppDelegate xmppStream]];
[xmppRoom addDelegate:UIAppDelegate
delegateQueue:dispatch_get_main_queue()];
[xmppRoom inviteUser:[XMPPJID jidWithString:jabberID] withMessage:@"Hi join room"];
을하지만 같은 콘솔에서 응답 점점 오전 :
를 내가 어떤 샘플 코드 나 문서를하지 않았기 때문에, 나는 다음과 같이 대화방을 시작하는 나 자신에 의해 시도했다 이 어떤 도움이 사전에 appreciated..Thanks 될 것 ??에 대한
RECV: <message xmlns="jabber:client" from="[email protected]" to="[email protected]/42512304551337785705750233" type="error"><x xmlns="http://jabber.org/protocol/muc#user"><invite to="[email protected]"><reason>Hi join room</reason></invite></x><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></message>
누구는 내가 아는 한 .. 어떤 샘플 코드가