修复bug
This commit is contained in:
@@ -352,8 +352,8 @@
|
||||
} else if(attachment.first == CustomMessageType_Graffiti_Star_Kitchen){///星级厨房飘屏
|
||||
if(attachment.second == Custom_Message_Sub_Star_Kitchen_Room)return;
|
||||
NSInteger uid = 0;
|
||||
if(attachment.data[@"uid"] != nil){
|
||||
uid = [attachment.data[@"uid"] integerValue];
|
||||
if(attachment.data[@"roomUid"] != nil){
|
||||
uid = [attachment.data[@"roomUid"] integerValue];
|
||||
}
|
||||
if(attachment.second == Custom_Message_Sub_Star_Kitchen_Server && self.delegate.getRoomInfo.uid != uid){
|
||||
return;
|
||||
@@ -363,7 +363,7 @@
|
||||
[self receiveTreasureFairyGiftHighLevel:attachment];
|
||||
}else if (attachment.first == CustomMessageType_Tarot && (attachment.second == Custom_Message_Sub_Tarot_Advanced || attachment.second == Custom_Message_Sub_Tarot_Intermediate)){
|
||||
PIBaseAnimationViewModel *giftNotifyInfo = [PIBaseAnimationViewModel modelWithJSON:attachment.data];
|
||||
if(attachment.second == Custom_Message_Sub_Tarot_Intermediate && self.delegate.getRoomInfo.uid != giftNotifyInfo.uid){
|
||||
if(attachment.second == Custom_Message_Sub_Tarot_Intermediate && self.delegate.getRoomInfo.uid != giftNotifyInfo.roomUid.integerValue){
|
||||
return;
|
||||
}
|
||||
[self receiveTarotBanner:attachment];
|
||||
|
Reference in New Issue
Block a user