[FIX] Oh, and set the version

This commit is contained in:
LDA 2024-11-11 11:23:10 +01:00
commit 7f41a85a8a

View file

@ -54,6 +54,7 @@ ParseeInitData(XMPPComponent *comp)
char *id = StrRandom(64); char *id = StrRandom(64);
ref = DbCreate(data->db, 1, "info"); ref = DbCreate(data->db, 1, "info");
HashMapSet(DbJson(ref), "identifier", JsonValueString(id)); HashMapSet(DbJson(ref), "identifier", JsonValueString(id));
HashMapSet(DbJson(ref), "version", JsonValueString(VERSION));
Free(id); Free(id);
} }