出现错误Conference room does not exist
NSDictionary *ss = [ [NSUserDefaults standardUserDefaults] objectForKey: @"login"];
NSLog(@"个人信息是%@",ss);
NSDictionary *result = [ss objectForKey:@"result"];
NSLog(@"群组是%@",result);
NSNumber *grpID = [result objectForKey:@"pro_groupId"];
NSString *groupId = [NSString stringWithFormat:@"%@",grpID];
NSLog(@"省群ID是%@",groupId);
ChatViewController *chatController = [[ChatViewController alloc] initWithChatter:groupId isGroup:YES];
[self.navigationController pushViewController:chatController animated:YES];
我的思路是先获取登录用户的群组IP,即groupId,然后调用创建官方的 chatviewcontroller,但不知道为什么会出错
NSLog(@"个人信息是%@",ss);
NSDictionary *result = [ss objectForKey:@"result"];
NSLog(@"群组是%@",result);
NSNumber *grpID = [result objectForKey:@"pro_groupId"];
NSString *groupId = [NSString stringWithFormat:@"%@",grpID];
NSLog(@"省群ID是%@",groupId);
ChatViewController *chatController = [[ChatViewController alloc] initWithChatter:groupId isGroup:YES];
[self.navigationController pushViewController:chatController animated:YES];
我的思路是先获取登录用户的群组IP,即groupId,然后调用创建官方的 chatviewcontroller,但不知道为什么会出错
没有找到相关结果
已邀请:
3 个回复
[已注销]
churk - 90hou
2015-10-27 16:59:52:002 ChengDuInstituteOfTechnology[2724:607] end insert message with account::northdoo, to chatter::214, messageId::150a886672c, result::YES
2015-10-27 16:59:52:004 ChengDuInstituteOfTechnology[2724:5707] SEND: <message type="groupchat" to="easemob-demo#chatdemoui_214@conference.easemob.com" id="150a886672c"><body>{"to":"214","from":"northdoo","bodies":[{"msg":"大","type":"txt"}]}</body></message>
2015-10-27 16:59:52:033 ChengDuInstituteOfTechnology[2724:5707] RECV: <message from='easemob.com' to='easemob-demo#chatdemoui_northdoo@easemob.com/mobile'><body>150a886672c</body><received xmlns='urn:xmpp:receipts' mid='121855060048085448'>150a886672c</received></message>
2015-10-27 16:59:52:037 ChengDuInstituteOfTechnology[2724:9703] RECV: <message from='easemob-demo#chatdemoui_214@conference.easemob.com' to='easemob-demo#chatdemoui_northdoo@easemob.com/mobile' type='error' id='121855060048085448'><body>{"to":"214","from":"northdoo","bodies":[{"msg":"大","type":"txt"}]}</body><error code='404' type='cancel'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Conference room does not exist</text></error></message>
[已注销]