Преглед изворни кода

去掉直播间speakerId的引用

Pq пре 1 година
родитељ
комит
0ea9abad63

+ 1 - 1
tclive/src/main/java/com/daya/tclive/ui/TCStudentLiveRoomActivity.java

@@ -1502,7 +1502,7 @@ public class TCStudentLiveRoomActivity extends BaseMVPActivity<AcTtLiveroomLayou
             }
             ToastUtil.getInstance().show(TCStudentLiveRoomActivity.this, getString(R.string.down_mic_by_create_tip));
             if (presenter != null && roomInfo != null) {
-                presenter.buildUnderMicResponseMessage(mUserId, roomInfo.speakerId, roomInfo.speakerName);
+                presenter.buildUnderMicResponseMessage(mUserId, roomInfo.speakerImUserId, roomInfo.speakerName);
             }
         }
     }

+ 1 - 1
tclive/src/main/java/com/daya/tclive/ui/TCTeacherLiveRoomActivity.java

@@ -1257,7 +1257,7 @@ public class TCTeacherLiveRoomActivity extends BaseMVPActivity<ActivityTcTeacher
 
     @Override
     public void onRemoteUserEnterRoom(String userId) {
-        if (!TextUtils.equals(mRoomInfoBean.speakerId, userId)) {
+        if (!TextUtils.equals(mRoomInfoBean.speakerImUserId, userId)) {
             addOnMicUser(userId);
             sendSyncOnMicStatusMessageAtOnce();
         }