prosodyclient: Use empty name if none provided by the server

In parallel, I have updated the server to use the group name for groups with
no name (the MUCs with no name are typically the default auto-created group
MUC).
This commit is contained in:
Matthew Wild
2023-12-14 12:43:59 +00:00
parent d63ae4768a
commit 7411f4a9e1

View File

@@ -190,7 +190,7 @@ class AdminGroupChatInfo:
return cls(
id_=data["id"],
jid=data["jid"],
name=data["name"],
name=data.get("name", ""),
)