简体   繁体   English

Quickblox聊天在iOS中停止工作

[英]Quickblox Chat stopped working in iOS

My app was working fine but Quicblox chat stopped working now - I have quiclblox installed through Pods - QuickBlox (2.8.0.1) (EDIT: Just updated the pod to Quickblox 2.9, but still the same) 我的应用程序运行正常,但Quicblox聊天现在停止工作-我已经通过Pods安装了quiclblox-QuickBlox(2.8.0.1)(编辑:只是将Pod更新为Quickblox 2.9,但仍然相同)

Here's the code I have to send the message which still executes fine (with no error returned in sendMessage-block's response,) but the message don't goes through: 这是我必须发送仍然可以正常执行的消息的代码(sendMessage-block的响应中没有返回错误),但是消息没有通过:

QBChatMessage * messageToSend = [QBChatMessage message];
messageToSend.recipientID = self.mRecieverQBUser.ID;
messageToSend.text = message;
messageToSend.senderID = SharedChatHelper.sharedHelper.qbUser.ID;
messageToSend.customParameters = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"1", @"save_to_history", @"1", @"send_to_chat", nil];
messageToSend.dialogID = self.mDialogObject.ID;
[self.mDialogObject sendMessage:messageToSend completionBlock:^(NSError * _Nullable error) {
}];

where mDialogObject is object of QBChatDialog 其中mDialogObject是QBChatDialog的对象

Looks like Quickblox server was down for a couple of days in last week. 上周Quickblox服务器好像停了几天。 It's back working now. 现在恢复工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM