修复bug

This commit is contained in:
liyuhua
2023-08-31 20:22:18 +08:00
parent 385212a3f5
commit ab9061580a
6 changed files with 27 additions and 13 deletions

View File

@@ -369,9 +369,9 @@
if (userInfo.roomUid && self.openType != SessionListOpenTypeRoom) {
self.isShowfollowInRoomView = YES;
self.sessionNavView.isShowLive = YES;
if ([self showChatRiskView:userInfo]==YES) {
self.riskAlertView.warning = userInfo.banAccount ? @" 温馨提醒:当前对方账号存在异常,请谨慎来往!" : @"温馨提示:对方和您非好友关系,请注意隐私安全!";
self.riskAlertView.warning = userInfo.banAccount ? @" 温馨提醒:当前对方账号存在异常,请谨慎来往!" : @" 温馨提示:对方和您非好友关系,请注意隐私安全!";
self.riskAlertView.hidden = NO;
}else{
self.riskAlertView.hidden = YES;
@@ -379,7 +379,7 @@
}
} else {
if ([self showChatRiskView:userInfo]) {
self.riskAlertView.warning = userInfo.banAccount ? @" 温馨提醒:当前对方账号存在异常,请谨慎来往!" : @"温馨提示:对方和您非好友关系,请注意隐私安全!";
self.riskAlertView.warning = userInfo.banAccount ? @" 温馨提醒:当前对方账号存在异常,请谨慎来往!" : @" 温馨提示:对方和您非好友关系,请注意隐私安全!";
self.riskAlertView.hidden = NO;
}else{
self.riskAlertView.hidden = YES;