Mercurial > libervia-desktop-kivy
changeset 515:2ff26b4273df
core: use `pre_accepted` following change in backend.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 13 Jul 2024 13:06:47 +0200 |
parents | d78728d7fd6a |
children | 11851162dd4c |
files | libervia/desktop_kivy/core/cagou_main.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/desktop_kivy/core/cagou_main.py Sat Apr 06 13:37:27 2024 +0200 +++ b/libervia/desktop_kivy/core/cagou_main.py Sat Jul 13 13:06:47 2024 +0200 @@ -1020,8 +1020,8 @@ from libervia.frontends.tools.webrtc_file import WebRTCFileReceiver confirm_msg = WebRTCFileReceiver.format_confirm_msg(action_data, from_jid) - file_accepted = action_data.get("file_accepted", False) - if file_accepted: + pre_accepted = action_data.get("pre_accepted", False) + if pre_accepted: accepted = True else: accepted = await self.ask_confirmation(confirm_msg, _("File Request"))