|
|
@@ -14,7 +14,7 @@
|
|
|
<u-avatar :src="liveItem.liveImgUrl || '/static/images/avatar.png'"
|
|
|
:size="32"></u-avatar>
|
|
|
<view class="colorf ml10 mr6">
|
|
|
- <view>111{{ liveItem.liveName ? truncateString(liveItem.liveName, 8) : '未命名' }}</view>
|
|
|
+ <view>{{ liveItem.liveName ? truncateString(liveItem.liveName, 8) : '未命名' }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -684,7 +684,7 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
},
|
|
|
onPullDownRefresh() {
|
|
|
this.getLiveMsg(this.liveItem);
|
|
|
- this.getliveUserInit();
|
|
|
+ // this.getliveUserInit();
|
|
|
setTimeout(() => {
|
|
|
uni.stopPullDownRefresh()
|
|
|
}, 1000)
|
|
|
@@ -758,10 +758,11 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
this.isAgreement = uni.getStorageSync('isAgreement')
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.setVideoProgress) {
|
|
|
- this.$refs.liveVideo.setVideoProgress()
|
|
|
- }
|
|
|
- });
|
|
|
+ // 严格检查 $refs.liveVideo 是否存在
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.setVideoProgress === 'function') {
|
|
|
+ this.$refs.liveVideo.setVideoProgress()
|
|
|
+ }
|
|
|
+ });
|
|
|
if (this.lookTimer) {
|
|
|
clearInterval(this.lookTimer)
|
|
|
this.lookTimer = null
|
|
|
@@ -769,7 +770,7 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
this.startTime = 0
|
|
|
}
|
|
|
// 清除等待定时器
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.waitingTimer) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && this.$refs.liveVideo.waitingTimer) {
|
|
|
clearTimeout(this.$refs.liveVideo.waitingTimer);
|
|
|
this.$refs.liveVideo.waitingTimer = null;
|
|
|
}
|
|
|
@@ -786,7 +787,7 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
this.totalTraffic = 0
|
|
|
}
|
|
|
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.startTimer) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.startTimer === 'function') {
|
|
|
this.$refs.liveVideo.startTimer()
|
|
|
}
|
|
|
|
|
|
@@ -839,7 +840,10 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
filteredViewers() {
|
|
|
|
|
|
// 从预设的头像数组中随机选择3个
|
|
|
- const avatarArray = this.fakeAvatar;
|
|
|
+ const avatarArray = this.fakeAvatar || [];
|
|
|
+ if (!Array.isArray(avatarArray) || avatarArray.length === 0) {
|
|
|
+ return [];
|
|
|
+ }
|
|
|
const shuffled = [...avatarArray].sort(() => 0.5 - Math.random());
|
|
|
const selected = shuffled.slice(0, 3);
|
|
|
// 转换为包含avatar属性的对象数组
|
|
|
@@ -883,20 +887,20 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
this.updateWatchDuration();
|
|
|
this.stopCountdown();
|
|
|
// 清理流量定时器
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.clearAllTimers) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.clearAllTimers === 'function') {
|
|
|
this.$refs.liveVideo.clearAllTimers()
|
|
|
}
|
|
|
},
|
|
|
onUnload() {
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.saveVideoProgress) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.saveVideoProgress === 'function') {
|
|
|
this.$refs.liveVideo.saveVideoProgress()
|
|
|
}
|
|
|
// 暂停视频
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.pauseVideo) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.pauseVideo === 'function') {
|
|
|
this.$refs.liveVideo.pauseVideo()
|
|
|
}
|
|
|
// 清理流量定时器
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.clearAllTimers) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.clearAllTimers === 'function') {
|
|
|
this.$refs.liveVideo.clearAllTimers()
|
|
|
}
|
|
|
// 清理liveItem中的定时器
|
|
|
@@ -1776,7 +1780,7 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
this.$set(this.liveItem, 'videoUrl', '')
|
|
|
setTimeout(() => {
|
|
|
this.$set(this.liveItem, 'videoUrl', this.getFreshVideoUrl())
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.playVideo) {
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.playVideo === 'function') {
|
|
|
this.$refs.liveVideo.playVideo()
|
|
|
}
|
|
|
}, 500)
|
|
|
@@ -2733,14 +2737,14 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
onLiveStateChange(e, liveItem) {
|
|
|
const stateCode = e.detail.code
|
|
|
if (e.detail.code == -2301 || e.detail.code == -2302) {
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.playVideo) {
|
|
|
- this.$refs.liveVideo.playVideo()
|
|
|
- }
|
|
|
- } else if (e.detail.code == 2004) {
|
|
|
- this.calculateTimeDiff(this.liveItem)
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.startTrafficCalculation) {
|
|
|
- this.$refs.liveVideo.startTrafficCalculation()
|
|
|
- }
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.playVideo === 'function') {
|
|
|
+ this.$refs.liveVideo.playVideo()
|
|
|
+ }
|
|
|
+ } else if (e.detail.code == 2004) {
|
|
|
+ this.calculateTimeDiff(this.liveItem)
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.startTrafficCalculation === 'function') {
|
|
|
+ this.$refs.liveVideo.startTrafficCalculation()
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
onLiveError(e, liveItem) {
|
|
|
@@ -2875,137 +2879,137 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
return prefix + suffix
|
|
|
}
|
|
|
},
|
|
|
- async getliveUser(isLoadMore = false) {
|
|
|
- if (!isLoadMore) {
|
|
|
- this.liveViewers = []
|
|
|
- this.viewPageNum = 1
|
|
|
- }
|
|
|
- this.viewLoading = true;
|
|
|
- try {
|
|
|
- const res = await watchUserList(this.liveId, this.viewPageSize, this.viewPageNum, false);
|
|
|
- console.log("qxj watchUserList res", res);
|
|
|
- if (res.code === 200) {
|
|
|
- const newRows = Array.isArray(res.rows) ? res.rows : []
|
|
|
-
|
|
|
- const newViewers = newRows.map((item) => ({
|
|
|
- avatar: item.avatar || '',
|
|
|
- userId: item.userId || '',
|
|
|
- nickName: item.nickName || '未命名'
|
|
|
- }));
|
|
|
-
|
|
|
- let virtualData = [];
|
|
|
- // 计算虚拟总数
|
|
|
- let virtualTotal = res.total * 2 + 50;
|
|
|
- // 计算需要生成的虚拟数据数量
|
|
|
- let totalVirtualNeeded = virtualTotal - res.total;
|
|
|
- totalVirtualNeeded = Math.max(0, Math.min(totalVirtualNeeded, 90)); // 最多生成90条虚拟数据
|
|
|
-
|
|
|
- if (!isLoadMore) {
|
|
|
- // 首次加载时,生成第一批虚拟数据(与真实数据合计不超过10个)
|
|
|
- let firstBatchVirtualCount = Math.max(0, 10 - newRows.length);
|
|
|
- for (let i = 0; i < firstBatchVirtualCount; i++) {
|
|
|
- let data = {
|
|
|
- avatar: '',
|
|
|
- userId: '8565' + i,
|
|
|
- nickName: this.generateRandomChineseName()
|
|
|
- }
|
|
|
- virtualData.push(data);
|
|
|
- }
|
|
|
- this.liveViewersData = [...newViewers, ...virtualData];
|
|
|
- } else {
|
|
|
- // 后续加载时,计算已加载的虚拟数据数量
|
|
|
- let loadedVirtualCount = this.liveViewers.filter(v => String(v.userId).startsWith('8565'))
|
|
|
- .length;
|
|
|
- // 计算还需要加载的虚拟数据数量
|
|
|
- let remainingVirtualCount = totalVirtualNeeded - loadedVirtualCount;
|
|
|
- // 本次加载的虚拟数据数量(最多10个)
|
|
|
- let currentBatchVirtualCount = Math.min(remainingVirtualCount, this.viewPageSize);
|
|
|
- // 生成本次加载的虚拟数据
|
|
|
- for (let i = 0; i < currentBatchVirtualCount; i++) {
|
|
|
- let data = {
|
|
|
- avatar: '',
|
|
|
- userId: '8565' + (loadedVirtualCount + i),
|
|
|
- nickName: this.generateRandomChineseName()
|
|
|
- }
|
|
|
- virtualData.push(data);
|
|
|
- }
|
|
|
- }
|
|
|
+ // async getliveUser(isLoadMore = false) {
|
|
|
+ // if (!isLoadMore) {
|
|
|
+ // this.liveViewers = []
|
|
|
+ // this.viewPageNum = 1
|
|
|
+ // }
|
|
|
+ // this.viewLoading = true;
|
|
|
+ // try {
|
|
|
+ // const res = await watchUserList(this.liveId, this.viewPageSize, this.viewPageNum, false);
|
|
|
+ // console.log("qxj watchUserList res", res);
|
|
|
+ // if (res.code === 200) {
|
|
|
+ // const newRows = Array.isArray(res.rows) ? res.rows : []
|
|
|
+
|
|
|
+ // const newViewers = newRows.map((item) => ({
|
|
|
+ // avatar: item.avatar || '',
|
|
|
+ // userId: item.userId || '',
|
|
|
+ // nickName: item.nickName || '未命名'
|
|
|
+ // }));
|
|
|
+
|
|
|
+ // let virtualData = [];
|
|
|
+ // // 计算虚拟总数
|
|
|
+ // let virtualTotal = res.total * 2 + 50;
|
|
|
+ // // 计算需要生成的虚拟数据数量
|
|
|
+ // let totalVirtualNeeded = virtualTotal - res.total;
|
|
|
+ // totalVirtualNeeded = Math.max(0, Math.min(totalVirtualNeeded, 90)); // 最多生成90条虚拟数据
|
|
|
+
|
|
|
+ // if (!isLoadMore) {
|
|
|
+ // // 首次加载时,生成第一批虚拟数据(与真实数据合计不超过10个)
|
|
|
+ // let firstBatchVirtualCount = Math.max(0, 10 - newRows.length);
|
|
|
+ // for (let i = 0; i < firstBatchVirtualCount; i++) {
|
|
|
+ // let data = {
|
|
|
+ // avatar: '',
|
|
|
+ // userId: '8565' + i,
|
|
|
+ // nickName: this.generateRandomChineseName()
|
|
|
+ // }
|
|
|
+ // virtualData.push(data);
|
|
|
+ // }
|
|
|
+ // this.liveViewersData = [...newViewers, ...virtualData];
|
|
|
+ // } else {
|
|
|
+ // // 后续加载时,计算已加载的虚拟数据数量
|
|
|
+ // let loadedVirtualCount = this.liveViewers.filter(v => String(v.userId).startsWith('8565'))
|
|
|
+ // .length;
|
|
|
+ // // 计算还需要加载的虚拟数据数量
|
|
|
+ // let remainingVirtualCount = totalVirtualNeeded - loadedVirtualCount;
|
|
|
+ // // 本次加载的虚拟数据数量(最多10个)
|
|
|
+ // let currentBatchVirtualCount = Math.min(remainingVirtualCount, this.viewPageSize);
|
|
|
+ // // 生成本次加载的虚拟数据
|
|
|
+ // for (let i = 0; i < currentBatchVirtualCount; i++) {
|
|
|
+ // let data = {
|
|
|
+ // avatar: '',
|
|
|
+ // userId: '8565' + (loadedVirtualCount + i),
|
|
|
+ // nickName: this.generateRandomChineseName()
|
|
|
+ // }
|
|
|
+ // virtualData.push(data);
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
- // 过滤掉旧列表中的虚拟数据,保留真实用户
|
|
|
- let currentRealViewers = isLoadMore ? this.liveViewers.filter(v => !String(v.userId)
|
|
|
- .startsWith('8565')) : [];
|
|
|
+ // // 过滤掉旧列表中的虚拟数据,保留真实用户
|
|
|
+ // let currentRealViewers = isLoadMore ? this.liveViewers.filter(v => !String(v.userId)
|
|
|
+ // .startsWith('8565')) : [];
|
|
|
|
|
|
- // 合并真实用户
|
|
|
- let allRealViewers = [...currentRealViewers, ...newViewers];
|
|
|
+ // // 合并真实用户
|
|
|
+ // let allRealViewers = [...currentRealViewers, ...newViewers];
|
|
|
|
|
|
- // 合并虚拟用户
|
|
|
- let currentVirtualViewers = isLoadMore ? this.liveViewers.filter(v => String(v.userId)
|
|
|
- .startsWith('8565')) : [];
|
|
|
- let allVirtualViewers = [...currentVirtualViewers, ...virtualData];
|
|
|
+ // // 合并虚拟用户
|
|
|
+ // let currentVirtualViewers = isLoadMore ? this.liveViewers.filter(v => String(v.userId)
|
|
|
+ // .startsWith('8565')) : [];
|
|
|
+ // let allVirtualViewers = [...currentVirtualViewers, ...virtualData];
|
|
|
|
|
|
- // 合并所有用户
|
|
|
- let mergedViewers = [...allRealViewers, ...allVirtualViewers];
|
|
|
- // 确保观众列表不超过100个
|
|
|
- if (mergedViewers.length > 100) {
|
|
|
- mergedViewers = mergedViewers.slice(0, 100);
|
|
|
- }
|
|
|
- this.liveViewers = mergedViewers;
|
|
|
-
|
|
|
- // 检查虚拟数据是否还有剩余
|
|
|
- let totalLoaded = allRealViewers.length + allVirtualViewers.length;
|
|
|
- let remainingVirtualCount = totalVirtualNeeded - allVirtualViewers.length;
|
|
|
- // 计算是否还有更多数据
|
|
|
- // 1. 如果真实用户还有更多
|
|
|
- // 2. 或者虚拟数据还有剩余
|
|
|
- // 3. 但不超过100个
|
|
|
- let hasMore = ((newRows.length >= this.viewPageSize) || (remainingVirtualCount > 0)) && (
|
|
|
- totalLoaded < 100);
|
|
|
- // 确保即使真实用户数据加载完毕,只要虚拟数据还有剩余且未超过100个,就继续加载
|
|
|
- if (remainingVirtualCount > 0 && totalLoaded < 100) {
|
|
|
- hasMore = true;
|
|
|
- }
|
|
|
- if (totalLoaded >= virtualTotal || totalLoaded >= 100) {
|
|
|
- hasMore = false;
|
|
|
- this.lookAudsCount = Math.max(0, virtualTotal - 100);
|
|
|
- } else {
|
|
|
- this.lookAudsCount = 0;
|
|
|
- }
|
|
|
+ // // 合并所有用户
|
|
|
+ // let mergedViewers = [...allRealViewers, ...allVirtualViewers];
|
|
|
+ // // 确保观众列表不超过100个
|
|
|
+ // if (mergedViewers.length > 100) {
|
|
|
+ // mergedViewers = mergedViewers.slice(0, 100);
|
|
|
+ // }
|
|
|
+ // this.liveViewers = mergedViewers;
|
|
|
+
|
|
|
+ // // 检查虚拟数据是否还有剩余
|
|
|
+ // let totalLoaded = allRealViewers.length + allVirtualViewers.length;
|
|
|
+ // let remainingVirtualCount = totalVirtualNeeded - allVirtualViewers.length;
|
|
|
+ // // 计算是否还有更多数据
|
|
|
+ // // 1. 如果真实用户还有更多
|
|
|
+ // // 2. 或者虚拟数据还有剩余
|
|
|
+ // // 3. 但不超过100个
|
|
|
+ // let hasMore = ((newRows.length >= this.viewPageSize) || (remainingVirtualCount > 0)) && (
|
|
|
+ // totalLoaded < 100);
|
|
|
+ // // 确保即使真实用户数据加载完毕,只要虚拟数据还有剩余且未超过100个,就继续加载
|
|
|
+ // if (remainingVirtualCount > 0 && totalLoaded < 100) {
|
|
|
+ // hasMore = true;
|
|
|
+ // }
|
|
|
+ // if (totalLoaded >= virtualTotal || totalLoaded >= 100) {
|
|
|
+ // hasMore = false;
|
|
|
+ // this.lookAudsCount = Math.max(0, virtualTotal - 100);
|
|
|
+ // } else {
|
|
|
+ // this.lookAudsCount = 0;
|
|
|
+ // }
|
|
|
|
|
|
- if (this.$refs.viewer) {
|
|
|
- this.$refs.viewer.endSuccess(newRows.length + virtualData.length, hasMore);
|
|
|
- }
|
|
|
- } else {
|
|
|
- if (this.$refs.viewer) this.$refs.viewer.endErr();
|
|
|
- }
|
|
|
- } catch (error) {
|
|
|
- console.error('获取观众列表失败:', error)
|
|
|
- if (this.$refs.viewer) this.$refs.viewer.endErr();
|
|
|
- } finally {
|
|
|
- this.viewLoading = false
|
|
|
- }
|
|
|
- },
|
|
|
- async getliveUserInit(isLoadMore = false) {
|
|
|
- try {
|
|
|
- const res = await watchUserList(this.liveId, this.viewPageSize, 1, false);
|
|
|
- console.log("qxj watchUserList res", res);
|
|
|
- if (res.code === 200) {
|
|
|
- const userRows = Array.isArray(res.rows) ? res.rows : []
|
|
|
- let array = userRows.map((item) => ({
|
|
|
- avatar: item.avatar || '',
|
|
|
- userId: item.userId || '',
|
|
|
- nickName: item.nickName || '未命名'
|
|
|
- }));
|
|
|
- // let virtualTotal = res.total * 2 + 50;
|
|
|
- // // 使用虚拟的观众总数
|
|
|
- // this.liveUserTotal = virtualTotal || 0;
|
|
|
- this.liveUserTotal = res.total;
|
|
|
- this.liveTopViewersData = [...array];
|
|
|
+ // if (this.$refs.viewer) {
|
|
|
+ // this.$refs.viewer.endSuccess(newRows.length + virtualData.length, hasMore);
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ // if (this.$refs.viewer) this.$refs.viewer.endErr();
|
|
|
+ // }
|
|
|
+ // } catch (error) {
|
|
|
+ // console.error('获取观众列表失败:', error)
|
|
|
+ // if (this.$refs.viewer) this.$refs.viewer.endErr();
|
|
|
+ // } finally {
|
|
|
+ // this.viewLoading = false
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // async getliveUserInit(isLoadMore = false) {
|
|
|
+ // try {
|
|
|
+ // const res = await watchUserList(this.liveId, this.viewPageSize, 1, false);
|
|
|
+ // console.log("qxj watchUserList res", res);
|
|
|
+ // if (res.code === 200) {
|
|
|
+ // const userRows = Array.isArray(res.rows) ? res.rows : []
|
|
|
+ // let array = userRows.map((item) => ({
|
|
|
+ // avatar: item.avatar || '',
|
|
|
+ // userId: item.userId || '',
|
|
|
+ // nickName: item.nickName || '未命名'
|
|
|
+ // }));
|
|
|
+ // // let virtualTotal = res.total * 2 + 50;
|
|
|
+ // // // 使用虚拟的观众总数
|
|
|
+ // // this.liveUserTotal = virtualTotal || 0;
|
|
|
+ // this.liveUserTotal = res.total;
|
|
|
+ // this.liveTopViewersData = [...array];
|
|
|
|
|
|
- }
|
|
|
- } catch (error) {
|
|
|
- console.error('获取观众列表失败:', error)
|
|
|
- } finally {}
|
|
|
- },
|
|
|
+ // }
|
|
|
+ // } catch (error) {
|
|
|
+ // console.error('获取观众列表失败:', error)
|
|
|
+ // } finally {}
|
|
|
+ // },
|
|
|
|
|
|
showPurchaseMessage() {
|
|
|
if (this.purchasePromptTimer) {
|
|
|
@@ -3110,9 +3114,9 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
// 初始化累计观看时间
|
|
|
this.initWatchTime();
|
|
|
this.startLiveViewDataTimer()
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.playVideo) {
|
|
|
- this.$refs.liveVideo.playVideo()
|
|
|
- }
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.playVideo === 'function') {
|
|
|
+ this.$refs.liveVideo.playVideo()
|
|
|
+ }
|
|
|
} catch (err) {
|
|
|
console.error('获取直播信息失败:', err)
|
|
|
uni.showToast({
|
|
|
@@ -3127,9 +3131,9 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
},
|
|
|
goBack() {
|
|
|
if (this.liveItem) {
|
|
|
- if (this.$refs.liveVideo && this.$refs.liveVideo.pauseVideo) {
|
|
|
- this.$refs.liveVideo.pauseVideo()
|
|
|
- }
|
|
|
+ if (this.$refs && this.$refs.liveVideo && typeof this.$refs.liveVideo.pauseVideo === 'function') {
|
|
|
+ this.$refs.liveVideo.pauseVideo()
|
|
|
+ }
|
|
|
}
|
|
|
this.closeWebSocket(true)
|
|
|
const pages = getCurrentPages()
|
|
|
@@ -3337,9 +3341,9 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
this.connectionStartTime = Date.now()
|
|
|
this.resetReconnectState()
|
|
|
|
|
|
- setTimeout(() => {
|
|
|
- this.getliveUserInit(false)
|
|
|
- }, 200)
|
|
|
+ // setTimeout(() => {
|
|
|
+ // this.getliveUserInit(false)
|
|
|
+ // }, 200)
|
|
|
|
|
|
const now = new Date()
|
|
|
this.timestamp = now.getTime()
|
|
|
@@ -3645,7 +3649,7 @@ import LiveVideo from '@/pages_course/components/liveVideo.vue'
|
|
|
'singleVisible') {} else if (socketMessage.cmd == 'entry') {
|
|
|
try {
|
|
|
//if (!this.liveUserCalled) {
|
|
|
- await this.getliveUserInit(false)
|
|
|
+ // await this.getliveUserInit(false)
|
|
|
this.liveUserCalled = true;
|
|
|
//}
|
|
|
const userIdToEntry = socketMessage.userId
|