修复游戏房发言重复/不显示问题

修复贵族不显示英文问题
This commit is contained in:
zlzw 2024-06-07 16:53:48 +08:00
parent 73847c46a3
commit d70c3a8b27
3 changed files with 3 additions and 0 deletions

View File

@ -1007,6 +1007,7 @@ public class SocketRyClient {
try { try {
//增加粉丝徽章信息 //增加粉丝徽章信息
chatBean.setMedalNmae(map.getString("medal_name")); chatBean.setMedalNmae(map.getString("medal_name"));
chatBean.setMedal_new_en(map.getString("medal_new_en"));
FansModel fansMedalBean = new NewLevelManager(mContext).getFansModel(map.getIntValue("medal_level")); FansModel fansMedalBean = new NewLevelManager(mContext).getFansModel(map.getIntValue("medal_level"));
if (fansMedalBean != null) if (fansMedalBean != null)
chatBean.setMedalLevelImageUrl(fansMedalBean.getThumb()); chatBean.setMedalLevelImageUrl(fansMedalBean.getThumb());

View File

@ -181,6 +181,7 @@ public class SocketSwChatUtil {
.param("bubble", u.getDress().getBubble()) .param("bubble", u.getDress().getBubble())
.param("medal", u.getDress().getMedal()) .param("medal", u.getDress().getMedal())
.param("medal_new", u.getDress().getMedal_new()) .param("medal_new", u.getDress().getMedal_new())
.param("medal_new_en", u.getDress().getMedal_new_en())
.param("guard_type", IMLoginManager.get(CommonAppContext.sInstance.getApplicationContext()).getGuardType()) .param("guard_type", IMLoginManager.get(CommonAppContext.sInstance.getApplicationContext()).getGuardType())
.param("medal_name", u.getMedalName()) .param("medal_name", u.getMedalName())
.param("medal_level", u.getMedalLevel()) .param("medal_level", u.getMedalLevel())

View File

@ -913,6 +913,7 @@ public class SocketSwClient {
try { try {
//增加粉丝徽章信息 //增加粉丝徽章信息
chatBean.setMedalNmae(map.getString("medal_name")); chatBean.setMedalNmae(map.getString("medal_name"));
chatBean.setMedal_new_en(map.getString("medal_new_en"));
FansModel fansMedalBean = new NewLevelManager(mContext).getFansModel(map.getIntValue("medal_level")); FansModel fansMedalBean = new NewLevelManager(mContext).getFansModel(map.getIntValue("medal_level"));
if (fansMedalBean != null) if (fansMedalBean != null)
chatBean.setMedalLevelImageUrl(fansMedalBean.getThumb()); chatBean.setMedalLevelImageUrl(fansMedalBean.getThumb());