开箱子消息增加点击事件

This commit is contained in:
huangjian
2020-05-11 22:05:35 +08:00
parent 560f989b62
commit 737e67c58b

View File

@@ -2261,7 +2261,10 @@ public class MessageView extends FrameLayout {
CustomAttachment attachment = (CustomAttachment) chatRoomMessage.getAttachment();
if (attachment.getFirst() == CustomAttachment.CUSTOM_MSG_HEADER_TYPE_ROOM_TIP) {
account = ((RoomTipAttachment) attachment).getUid() + "";
} else if (attachment.getFirst() == CustomAttachment.CUSTOM_MSG_HEADER_TYPE_QUEUE) {
}
else if (attachment.getFirst() == CustomAttachment.CUSTOM_MSG_BOX){
account = String.valueOf(((RoomBoxPrizeAttachment)attachment).getUid());
}else if (attachment.getFirst() == CustomAttachment.CUSTOM_MSG_HEADER_TYPE_QUEUE) {
long handleUid = ((RoomQueueMsgAttachment) attachment).handleUid;
if (handleUid > 0) {
account = ((RoomQueueMsgAttachment) attachment).handleUid + "";