core, dependencies: Update Tx-XMPP to 0.12:

Tx-XMPP 0.12 has beaking change in `discoFeature.identities` because it now supports
`xml:lang` attribute, so this update implies updating the code everywhere were this is
used.
This commit is contained in:
Goffi 2026-04-17 15:27:40 +02:00
commit f6db575ee4

View file

@ -753,8 +753,11 @@ class Identity:
except Exception as e:
log.exception(f"Can't get disco infos for {entity}.")
else:
for (category, type_), name in disco_infos.identities.items():
identities.append({"category": category, "type": type_, "name": name})
for (category, type_, lang), name in disco_infos.identities.items():
identity_entry = {"category": category, "type": type_, "name": name}
if lang:
identity_entry["lang"] = lang
identities.append(identity_entry)
return id_data