Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_xep_0167/__init__.py @ 4119:ece304ec7077
plugin XEP-0167: fix key used to store metadata:
rel 424
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 03 Oct 2023 15:18:25 +0200 |
parents | 07370d2a9bde |
children | 832a7bdb3aea |
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0167/__init__.py Tue Oct 03 15:15:24 2023 +0200 +++ b/libervia/backend/plugins/plugin_xep_0167/__init__.py Tue Oct 03 15:18:25 2023 +0200 @@ -495,7 +495,7 @@ answer_sdp = await answer_sdp_d parsed_answer = mapping.parse_sdp(answer_sdp) - session["peer_metadata"].update(parsed_answer["metadata"]) + session["metadata"].update(parsed_answer["metadata"]) for media in ("audio", "video"): for content in session["contents"].values(): if content["desc_elt"].getAttribute("media") == media: