mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-27 02:05:42 +00:00
fix(web_audio_bridge): ensure client is added only when an active call is present
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user