core: don't use meta_ prefix anymore for action_extra in action_new signal.
This commit is contained in:
parent
1d0a1b66d9
commit
5ba4239fcc
3 changed files with 17 additions and 17 deletions
|
|
@ -255,8 +255,8 @@ class JingleStream(object):
|
|||
_(CONFIRM_TITLE),
|
||||
type_=C.XMLUI_DIALOG_CONFIRM,
|
||||
action_extra={
|
||||
"meta_from_jid": session["peer_jid"].full(),
|
||||
"meta_type": "STREAM",
|
||||
"from_jid": session["peer_jid"].full(),
|
||||
"type": "STREAM",
|
||||
},
|
||||
security_limit=SECURITY_LIMIT,
|
||||
profile=client.profile,
|
||||
|
|
|
|||
|
|
@ -271,9 +271,9 @@ class FilePlugin:
|
|||
_(CONFIRM_OVERWRITE).format(file_path),
|
||||
_(CONFIRM_OVERWRITE_TITLE),
|
||||
action_extra={
|
||||
"meta_from_jid": peer_jid.full(),
|
||||
"meta_type": C.META_TYPE_OVERWRITE,
|
||||
"meta_progress_id": file_data[PROGRESS_ID_KEY],
|
||||
"from_jid": peer_jid.full(),
|
||||
"type": C.META_TYPE_OVERWRITE,
|
||||
"progress_id": file_data[PROGRESS_ID_KEY],
|
||||
},
|
||||
security_limit=SECURITY_LIMIT,
|
||||
profile=client.profile,
|
||||
|
|
@ -331,9 +331,9 @@ class FilePlugin:
|
|||
type_=C.XMLUI_DIALOG_FILE,
|
||||
options={C.XMLUI_DATA_FILETYPE: C.XMLUI_DATA_FILETYPE_DIR},
|
||||
action_extra={
|
||||
"meta_from_jid": peer_jid.full(),
|
||||
"meta_type": C.META_TYPE_FILE,
|
||||
"meta_progress_id": file_data[PROGRESS_ID_KEY],
|
||||
"from_jid": peer_jid.full(),
|
||||
"type": C.META_TYPE_FILE,
|
||||
"progress_id": file_data[PROGRESS_ID_KEY],
|
||||
},
|
||||
security_limit=SECURITY_LIMIT,
|
||||
profile=client.profile,
|
||||
|
|
|
|||
|
|
@ -179,9 +179,9 @@ class XEP_0353:
|
|||
accept = await xml_tools.defer_confirm(
|
||||
self.host, confirm_msg, confirm_title, profile=client.profile,
|
||||
action_extra={
|
||||
"meta_type": C.META_TYPE_NOT_IN_ROSTER_LEAK,
|
||||
"meta_session_id": session_id,
|
||||
"meta_from_jid": peer_jid.full(),
|
||||
"type": C.META_TYPE_NOT_IN_ROSTER_LEAK,
|
||||
"session_id": session_id,
|
||||
"from_jid": peer_jid.full(),
|
||||
}
|
||||
)
|
||||
if not accept:
|
||||
|
|
|
|||
Loading…
Reference in a new issue