开箱子消息增加点击事件
This commit is contained in:
@@ -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 + "";
|
||||
|
Reference in New Issue
Block a user