修复直播状态

This commit is contained in:
Yutousama 2022-04-11 19:16:17 +08:00
parent addda76eaa
commit e68bef1f5d

View File

@ -313,8 +313,8 @@ public class Live implements ApplicationContextAware {
int popular = LiveUtils.bytesToInt2(bytes, 0); int popular = LiveUtils.bytesToInt2(bytes, 0);
info.setPopular(popular); info.setPopular(popular);
} }
upData.setLive(LiveUtils.getLiveState(roomId)?1:0);
} }
upData.setLive(LiveUtils.getLiveState(roomId) ? 1 : 0);
} catch (Exception e) { } catch (Exception e) {
Log.e(e); Log.e(e);