私聊账号异常风险提醒
This commit is contained in:
@@ -241,6 +241,7 @@
|
||||
self.followInRoomView.hidden = NO;
|
||||
self.followInRoomView.userInfo = userInfo;
|
||||
if ([self showChatRiskView:userInfo]) {
|
||||
self.riskAlertView.warning = userInfo.banAccount ? @" 温馨提醒:当前对方账号存在异常,请谨慎来往!" : @"温馨提示:对方和您非好友关系,请注意隐私安全!";
|
||||
if (!self.riskAlertView.superview) {
|
||||
[self.view addSubview:self.riskAlertView];
|
||||
[self.riskAlertView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
@@ -266,6 +267,7 @@
|
||||
}
|
||||
} else {
|
||||
if ([self showChatRiskView:userInfo]) {
|
||||
self.riskAlertView.warning = userInfo.banAccount ? @" 温馨提醒:当前对方账号存在异常,请谨慎来往!" : @"温馨提示:对方和您非好友关系,请注意隐私安全!";
|
||||
if (!self.riskAlertView.superview) {
|
||||
[self.view addSubview:self.riskAlertView];
|
||||
[self.riskAlertView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
Reference in New Issue
Block a user