修复 塔罗高级 未添加公屏通知

This commit is contained in:
wzq
2023-09-26 19:34:40 +08:00
parent 1998258bda
commit fd71af897f
3 changed files with 4 additions and 0 deletions

View File

@@ -1259,6 +1259,7 @@ public class AVRoomActivity extends BaseMvpActivity<IAvRoomView, AvRoomPresenter
.onNext(new RoomEvent()
.setEvent(RoomEvent.TAROT_NOTIFY_SVGA)
.setChatRoomMessage(message));
AvRoomDataManager.get().addChatRoomMessage(message);
}
break;
case CustomAttachment.CUSTOM_MSG_NOTIFY_H5:

View File

@@ -1323,6 +1323,7 @@ public class MessageView extends FrameLayout {
break;
case CustomAttachment.CUSTOM_MESS_TAROT_JUNIOR_PRIZE_WINNING:
case CustomAttachment.CUSTOM_MESS_TAROT_INTERMEDIATE_PRIZE_WINNING:
case CustomAttachment.CUSTOM_MESS_TAROT_SENIOR_PRIZE_WINNING:
text.append(ResUtil.getString(R.string.avroom_widget_messageview_026), new ForegroundColorSpan(textColor))
.append(nickName, new ForegroundColorSpan(roomTipNickColor))
.append(ResUtil.getString(R.string.avroom_widget_messageview_0160), new ForegroundColorSpan(textColor))

View File

@@ -1361,8 +1361,10 @@ public final class IMNetEaseManager {
|| second == CUSTOM_MESS_TAROT_SENIOR_PRIZE_WINNING) {
noticeTarot(msg, second);
}
break;
case CUSTOM_MSG_NOTIFY_H5:
noticeH5(msg);
break;
default:
break;
}