|
@@ -49,7 +49,7 @@ class RoomChatAdapter :
|
|
companion object {
|
|
companion object {
|
|
const val LEVEL_KEY = "level"
|
|
const val LEVEL_KEY = "level"
|
|
const val PRETTY_KEY = "pretty"//靓号
|
|
const val PRETTY_KEY = "pretty"//靓号
|
|
- const val VIP_KEY = "pretty"//每日首冲
|
|
|
|
|
|
+ const val VIP_KEY = "vip"//每日首冲
|
|
const val IS_OFFICIAL = "official"
|
|
const val IS_OFFICIAL = "official"
|
|
const val IS_SERVICE = "service"
|
|
const val IS_SERVICE = "service"
|
|
const val IS_CROWN = "crown"
|
|
const val IS_CROWN = "crown"
|
|
@@ -310,7 +310,7 @@ class RoomChatAdapter :
|
|
RoomMsgType.USER_ENTER_ROOM -> {
|
|
RoomMsgType.USER_ENTER_ROOM -> {
|
|
val sb = StringBuffer()
|
|
val sb = StringBuffer()
|
|
|
|
|
|
- if (item is UserJoinRoomBean&&item.isAdmin==1) {
|
|
|
|
|
|
+ if (item is UserJoinRoomBean&&item.isAdmin==0) {
|
|
count++
|
|
count++
|
|
sb.append("<img src='" + "file:///xx/")
|
|
sb.append("<img src='" + "file:///xx/")
|
|
.append(IS_ADMIN).append(".png")
|
|
.append(IS_ADMIN).append(".png")
|