[ADD/MOD] Cleanup cmd, change Matrix user format

This commit is contained in:
LDA 2024-07-14 20:00:41 +02:00
commit 91d373addb
13 changed files with 217 additions and 77 deletions

View file

@ -22,6 +22,13 @@ static HttpServer *server = NULL;
static pthread_t xmpp_thr;
static XMPPComponent *jabber = NULL;
static volatile uint64_t start;
uint64_t
ParseeUptime(void)
{
return UtilTsMillis() - start;
}
int
Main(void)
{
@ -30,6 +37,8 @@ Main(void)
Stream *yaml;
Cron *cron = NULL;
start = UtilTsMillis();
memset(&conf, 0, sizeof(conf));
Log(LOG_INFO,
"%s - v%s (Cytoplasm %s)",