1

我正在将 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);
}
4

0 回答 0