Skip to content

Commit

Permalink
Remove connecting status
Browse files Browse the repository at this point in the history
  • Loading branch information
n9lsjr committed Aug 19, 2024
1 parent 84e7e48 commit bdf8f33
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/lib/components/chat/VoiceUser.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
//Check if we are also online in this channel
$: in_voice = voice_channel.some(a => a.address === myAddress)
//If so the user is connecting to our call if he is not yet connected in $swarm.call
$: if ($swarm.call.some(a => a.chat === voice_user.address && !a.connected) && in_voice) {
isConnecting = true
} else {
isConnecting = false
}
</script>
Expand All @@ -38,11 +33,7 @@
src="data:image/png;base64,{get_avatar(voice_user.address)}"
alt=""
/>
{#if isConnecting}
<p class="connecting">Connecting</p> <div class="moon"><Moon color="#f2f2f2" size="15" unit="px"/></div>
{:else}
<p class="nickname">{voice_user.name}</p>
{/if}
<br />
</div>

Expand Down

0 comments on commit bdf8f33

Please sign in to comment.