fix:修复离开模式下管理可以点击主麦操作问题(改为点击toast提示)
This commit is contained in:
@@ -1004,7 +1004,15 @@ open class BaseRoomFragment<V : IBaseRoomView?, P : BaseRoomPresenter<V>?> :
|
||||
(roomInfo.isLeaveMode || AvRoomDataManager.get().isSingleRoom)
|
||||
&& position == -1
|
||||
) {
|
||||
val currentUid = AuthModel.get().currentUid.toString()
|
||||
if (roomInfo.isLeaveMode && !AvRoomDataManager.get().isSingleRoom && (AvRoomDataManager.get()
|
||||
.isRoomOwner(currentUid) || AvRoomDataManager.get().isRoomAdmin(currentUid)
|
||||
|| SuperAdminUtil.isSuperAdmin())
|
||||
) {
|
||||
SingleToastUtil.showToast("请先关闭离开模式")
|
||||
} else {
|
||||
showUserCardDialog(roomInfo.uid.toString())
|
||||
}
|
||||
} else {
|
||||
val roomQueueInfo = AvRoomDataManager.get()
|
||||
.getRoomQueueMemberInfoByMicPosition(position)
|
||||
|
Reference in New Issue
Block a user