mirror of
https://github.com/Quad4-Software/MeshChatX.git
synced 2026-08-18 09:49:09 -04:00
fix(web_audio_bridge): ensure client is added only when an active call is present
This commit is contained in:
parent
3686bb6b74
commit
15f60a1b4b
1 changed files with 1 additions and 1 deletions
|
|
@ -131,10 +131,10 @@ class WebAudioBridge:
|
|||
|
||||
def attach_client(self, client):
|
||||
with self.lock:
|
||||
self.clients.add(client)
|
||||
tele = self._tele()
|
||||
if not tele or not tele.active_call:
|
||||
return False
|
||||
self.clients.add(client)
|
||||
self._ensure_remote_tx(tele)
|
||||
self._ensure_rx_tee(tele)
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue