mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 12:15:12 +00:00
[FIX] Oh, and set the version
This commit is contained in:
parent
954c588310
commit
7f41a85a8a
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue