Quickblox IOS SDK创建聊天室 - 房间被锁定?

时间:2013-05-03 18:07:09

标签: chat quickblox

我正在将Quickblox聊天API添加到我的应用中,我可以很好地查看聊天室。 但是当我尝试创建一个聊天室时,我收到一条消息说

<message xmlns="jabber:client" from="reliefme_23@muc.chat.quickblox.com" to="158737-1588@chat.quickblox.com/tigase-40290" type="groupchat"><body>Welcome! You created new Multi User Chat Room. Room is locked now. Configure it please!</body></message>

这是我的代码

-(IBAction)createChatRoom:(id)sender
{
    if([[QBChat instance] isLoggedIn])
    {
         [[QBChat instance] createOrJoinRoomWithName:self.chatroom_txt.text membersOnly:NO persistent:YES];
    }


}



- (void)chatRoomDidEnter:(QBChatRoom *)room
{
    NSLog(@"room %@",room);
}

0 个答案:

没有答案