Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0353.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 | 524856bd7b19 |
children | 3900626bc100 |
comparison
equal
deleted
inserted
replaced
4041:2594e1951cf7 | 4042:877145b4ba01 |
---|---|
177 ).format(peer_jid=peer_jid, human_name=human_name) | 177 ).format(peer_jid=peer_jid, human_name=human_name) |
178 confirm_title = D_("Invitation from an unknown contact") | 178 confirm_title = D_("Invitation from an unknown contact") |
179 accept = await xml_tools.defer_confirm( | 179 accept = await xml_tools.defer_confirm( |
180 self.host, confirm_msg, confirm_title, profile=client.profile, | 180 self.host, confirm_msg, confirm_title, profile=client.profile, |
181 action_extra={ | 181 action_extra={ |
182 "meta_type": C.META_TYPE_NOT_IN_ROSTER_LEAK, | 182 "type": C.META_TYPE_NOT_IN_ROSTER_LEAK, |
183 "meta_session_id": session_id, | 183 "session_id": session_id, |
184 "meta_from_jid": peer_jid.full(), | 184 "from_jid": peer_jid.full(), |
185 } | 185 } |
186 ) | 186 ) |
187 if not accept: | 187 if not accept: |
188 mess_data = self.build_message_data( | 188 mess_data = self.build_message_data( |
189 client, client.jid.userhostJID(), "reject", session_id) | 189 client, client.jid.userhostJID(), "reject", session_id) |