We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705a2da commit 43dc9faCopy full SHA for 43dc9fa
Coding_iOS/Controllers/ConversationViewController.m
@@ -413,6 +413,11 @@ - (void)sendPrivateMessageWithMsg:(PrivateMessage *)nextMsg{
413
[[Coding_NetAPIManager sharedManager] request_SendPrivateMessage:nextMsg andBlock:^(id data, NSError *error) {
414
if (data) {
415
[weakSelf.myPriMsgs sendSuccessMessage:data andOldMessage:nextMsg];
416
+ }else if (error.userInfo[@"msg"][@"message_need_captcha"]){
417
+ NSDictionary *params = @{@"type": @2,
418
+ @"receiver_global_key": nextMsg.friend.global_key ?: @"",
419
+ };
420
+ [NSObject showCaptchaViewParams:params.mutableCopy];
421
}
422
[weakSelf dataChangedWithError:NO scrollToBottom:YES animated:YES];
423
} progerssBlock:^(CGFloat progressValue) {
0 commit comments