initiating call should return call object when link is established

This commit is contained in:
liamcottle 2024-05-25 23:52:41 +12:00
parent 806835f507
commit a16393d07d
3 changed files with 12 additions and 36 deletions

4
web.py
View file

@ -260,9 +260,9 @@ class ReticulumWebChat:
# initiate audio call
try:
link_hash = await self.audio_call_manager.initiate(destination_hash, timeout_seconds)
audio_call = await self.audio_call_manager.initiate(destination_hash, timeout_seconds)
return web.json_response({
"hash": link_hash.hex(),
"audio_call": self.convert_audio_call_to_dict(audio_call),
})
except Exception as e: