Commit aa9ace8b by qlintonger xeno

通话数据问题准备修复

parent 5430a2d7
......@@ -374,6 +374,10 @@ export class AgoraHandle {
await this.agoraApp.forceReplay(id, `${this.agoraOptions.remotePlayerPrefix}${id}`)
}
forceUpdateOnlineUsers() {
this.agoraApp.sendWSFromCall('0', 'GetCompanyUserList');
}
async joinChatRoom() {
await this.agoraApp.join(
chatChannelState.value.chatChannelId,
......
......@@ -32,6 +32,7 @@ import { computed } from 'vue'
const AnyR = useAnyR()
const chattersName = computed(function () {
console.log("all other chatters", allOtherChattersIdSet.value, userStates.value.onlineContacts);
return allOtherChattersIdSet.value.map(function (a: any) {
// @ts-ignore
return userStates.value.onlineContacts.find((q: any) => q.fromID === a)?.fromName || '未知用户'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment