mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-28 19:06:29 -05:00
show notification for incoming calls
This commit is contained in:
parent
73b9639875
commit
cac6803d18
2 changed files with 14 additions and 0 deletions
|
|
@ -167,6 +167,9 @@ class ReticulumMeshChat:
|
|||
# handle receiving a new audio call
|
||||
def on_incoming_audio_call(self, audio_call: AudioCall):
|
||||
print("on_incoming_audio_call: {}".format(audio_call.link.hash.hex()))
|
||||
asyncio.run(self.websocket_broadcast(json.dumps({
|
||||
"type": "incoming_audio_call",
|
||||
})))
|
||||
|
||||
# web server has shutdown, likely ctrl+c, but if we don't do the following, the script never exits
|
||||
async def shutdown(self, app):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue