[MOD] Notify MUCs about errors

This commit is contained in:
LDA 2025-01-03 15:01:35 +01:00
commit c365681fcb
7 changed files with 37 additions and 27 deletions

View file

@ -18,9 +18,9 @@ void
MUCSetKey(XMPPCommandManager *m, char *from, XMLElement *form, XMLElement *out)
{
ParseeData *data = XMPPGetManagerCookie(m);
char *affiliation, *role;
char *chat_id;
char *muc;
char *affiliation = NULL, *role = NULL;
char *chat_id = NULL;
char *muc = NULL;
char *key = NULL, *val = NULL;