修复盲盒连送
This commit is contained in:
@@ -293,6 +293,21 @@ NSInteger maxMessageCount = 20;
|
||||
|
||||
return height;
|
||||
}
|
||||
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
|
||||
QXRoomChatListModel *model;
|
||||
if (self.selectedBtn == self.chatBtn) {
|
||||
model = self.chatArray[indexPath.row];
|
||||
}else if (self.selectedBtn == self.giftBtn) {
|
||||
model = self.giftArray[indexPath.row];
|
||||
}else{
|
||||
model = self.dataArray[indexPath.row];
|
||||
}
|
||||
if (model.FromUserInfo.user_id.longValue > 0 && model.messageType == QXRoomChatMessageTypeSystem) {
|
||||
if (self.delegate && [self.delegate respondsToSelector:@selector(previewUserInfoWithUserId:)]) {
|
||||
[self.delegate previewUserInfoWithUserId:model.FromUserInfo.user_id];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
|
||||
CGFloat height = scrollView.frame.size.height;
|
||||
|
||||
Reference in New Issue
Block a user