plugin XEP-0167: don't override existing metadata when preparing confirmation:
rel 424
This commit is contained in:
parent
4df59a90cc
commit
81fb54de5c
1 changed files with 1 additions and 1 deletions
|
|
@ -513,7 +513,7 @@ class XEP_0167(BaseApplicationHandler):
|
|||
application_data = content_data["application_data"]
|
||||
if action == self._j.A_PREPARE_CONFIRMATION:
|
||||
session["metadata"] = {}
|
||||
session["peer_metadata"] = {}
|
||||
session.setdefault("peer_metadata", {})
|
||||
try:
|
||||
media = application_data["media"] = desc_elt["media"]
|
||||
except KeyError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue