糖果树公屏显示
This commit is contained in:
@@ -146,6 +146,7 @@
|
||||
NIMCustomObject *obj = (NIMCustomObject *)message.messageObject;
|
||||
if (obj.attachment != nil && [obj.attachment isKindOfClass:[AttachmentModel class]]) {
|
||||
AttachmentModel *attachment = (AttachmentModel *)obj.attachment;
|
||||
NSLog(@"%@", attachment);
|
||||
return [[[self supportMessageDic] objectForKey:@(attachment.first)] containsObject:@(attachment.second)];
|
||||
}
|
||||
return NO;
|
||||
@@ -179,6 +180,14 @@
|
||||
[NSSet setWithObjects:
|
||||
@(Custom_Message_Sub_Queue_Kick),
|
||||
nil],
|
||||
@(CustomMessageType_Candy_Tree):
|
||||
[NSSet setWithObjects:
|
||||
@(Custom_Message_Sub_Candy_Tree_Me),
|
||||
@(Custom_Message_Sub_Candy_Tree_InRoom),
|
||||
@(Custom_Message_Sub_Candy_Tree_AllRoom),
|
||||
@(Custom_Message_Sub_Candy_Tree_AllRoom_Notify),
|
||||
@(Custom_Message_Sub_Candy_Tree_InRoom_NeedAllMicSend),
|
||||
nil],
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user