[ADD/WIP] Continue MUCwerk

oh man this is gonna be painful to do... xmpp is fine iff youre doing
DMs isnt it?
This commit is contained in:
LDA 2024-06-21 00:48:27 +02:00
commit d3b7f2fee0
19 changed files with 707 additions and 44 deletions

View file

@ -31,3 +31,17 @@ MatrixCreateMessage(char *body)
return map;
}
HashMap *
MatrixCreateNameState(char *name)
{
HashMap *map;
if (!name)
{
return NULL;
}
map = HashMapCreate();
HashMapSet(map, "name", JsonValueString(name));
return map;
}