diff sat_frontends/jp/cmd_file.py @ 4042:877145b4ba01

core: don't use `meta_` prefix anymore for `action_extra` in `action_new` signal.
author Goffi <goffi@goffi.org>
date Mon, 15 May 2023 16:20:50 +0200
parents 2594e1951cf7
children 4b842c1fb686
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_file.py	Mon May 15 16:20:45 2023 +0200
+++ b/sat_frontends/jp/cmd_file.py	Mon May 15 16:20:50 2023 +0200
@@ -373,12 +373,12 @@
         if xmlui_id is None:
             return self.host.quit_from_signal(1)
         try:
-            from_jid = jid.JID(action_data["meta_from_jid"])
+            from_jid = jid.JID(action_data["from_jid"])
         except KeyError:
             self.disp(_("Ignoring action without from_jid data"), 1)
             return
         try:
-            progress_id = action_data["meta_progress_id"]
+            progress_id = action_data["progress_id"]
         except KeyError:
             self.disp(_("ignoring action without progress id"), 1)
             return
@@ -402,7 +402,7 @@
         if xmlui_id is None:
             return self.host.quit_from_signal(1)
         try:
-            progress_id = action_data["meta_progress_id"]
+            progress_id = action_data["progress_id"]
         except KeyError:
             self.disp(_("ignoring action without progress id"), 1)
             return
@@ -425,7 +425,7 @@
         if xmlui_id is None:
             return self.host.quit_from_signal(1)
         try:
-            from_jid = jid.JID(action_data["meta_from_jid"])
+            from_jid = jid.JID(action_data["from_jid"])
         except ValueError:
             self.disp(
                 _('invalid "from_jid" value received, ignoring: {value}').format(