mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-12-05 14:19:58 -05:00
initiating call should return call object when link is established
This commit is contained in:
parent
806835f507
commit
a16393d07d
3 changed files with 12 additions and 36 deletions
4
web.py
4
web.py
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue