|
@@ -50,6 +50,12 @@
|
|
|
if (arr.count) {
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
NSArray *models = [MessageModel mj_objectArrayWithKeyValuesArray:arr];
|
|
|
+ [models enumerateObjectsUsingBlock:^(MessageModel * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|
|
|
+ if (obj.showMike) {
|
|
|
+ obj.showText = NO;
|
|
|
+ }
|
|
|
+ obj.showTrans = NO;
|
|
|
+ }];
|
|
|
self.chatServiceView.messageView.chatDataManager = [NSMutableArray arrayWithArray:models];
|
|
|
[self.chatServiceView.messageView.messageCollectionView reloadData];
|
|
|
});
|