comparison sat_frontends/jp/cmd_pipe.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
comparison
equal deleted inserted replaced
4041:2594e1951cf7 4042:877145b4ba01
121 async def on_stream_action(self, action_data, action_id, security_limit, profile): 121 async def on_stream_action(self, action_data, action_id, security_limit, profile):
122 xmlui_id = self.get_xmlui_id(action_data) 122 xmlui_id = self.get_xmlui_id(action_data)
123 if xmlui_id is None: 123 if xmlui_id is None:
124 self.host.quit_from_signal(C.EXIT_ERROR) 124 self.host.quit_from_signal(C.EXIT_ERROR)
125 try: 125 try:
126 from_jid = jid.JID(action_data["meta_from_jid"]) 126 from_jid = jid.JID(action_data["from_jid"])
127 except KeyError: 127 except KeyError:
128 self.disp(_("Ignoring action without from_jid data"), error=True) 128 self.disp(_("Ignoring action without from_jid data"), error=True)
129 return 129 return
130 130
131 if not self.bare_jids or from_jid.bare in self.bare_jids: 131 if not self.bare_jids or from_jid.bare in self.bare_jids: