Skip to content

Commit

Permalink
fix-1
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohaodu committed Jun 1, 2024
1 parent ec9e34a commit 0b11ac0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/web-chat-x-vue/src/components/PeerVideoComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ peerManager.nearVideoElement = nearVideoElement;
peerManager.elDialogVisible = elDialogVisible;
onMounted(() => {
elDialogVisible.value = true;
nextTick(() => {
elDialogVisible.value = false;
peerManager.listenCall();
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/web-chat-x-vue/src/views/PrivateChat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ ref(await libp2pManager.getMessageAggregation("",currentUser?.value.id,friendId.
])
watchEffect(async ()=>{
messages.value=await libp2pManager.getMessageAggregation("",currentUser?.value.id,friendId.value)
friend.value=( libp2pManager.getFriend(friendId.value))!
friend.value=(libp2pManager.getFriend(friendId.value))!
})
onMounted(()=>{
nextTick(()=>{
Expand Down

0 comments on commit 0b11ac0

Please sign in to comment.