mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:45:10 +00:00
I honestly don't know what to call it.
It's not a 0.2 release, btw.
This commit is contained in:
parent
e7ba1fa48d
commit
3ceae7b053
13 changed files with 179 additions and 85 deletions
|
|
@ -47,7 +47,7 @@ static const Argument arguments[] =
|
|||
"Generates a parsee.yaml AS file before exiting")
|
||||
Arg('v', false, NULL,
|
||||
"Forces Parsee to print in a more verbose fashion "
|
||||
"(-vv prints stanzas to stderr)")
|
||||
"(-vvv prints stanzas to stderr)")
|
||||
Arg('h', false, NULL,
|
||||
"Generates an help screen(this one!)")
|
||||
|
||||
|
|
@ -116,6 +116,9 @@ Main(Array *args, HashMap *env)
|
|||
case PARSEE_VERBOSE_LOG:
|
||||
LogConfigLevelSet(LogConfigGlobal(), LOG_DEBUG);
|
||||
break;
|
||||
case PARSEE_VERBOSE_TIMINGS:
|
||||
Log(LOG_DEBUG, "Logging bench information.");
|
||||
break;
|
||||
case PARSEE_VERBOSE_STANZA:
|
||||
Log(LOG_DEBUG, "Enabling stanza printing.");
|
||||
break;
|
||||
|
|
@ -226,6 +229,8 @@ Main(Array *args, HashMap *env)
|
|||
if (ASRegisterUser(parsee_conf, parsee_conf->sender_localpart))
|
||||
{
|
||||
char *parsee = ParseeMXID(conf.handlerArgs);
|
||||
|
||||
/* TODO: An hardcoded avatar like this sucks. */
|
||||
ASSetAvatar(parsee_conf,
|
||||
parsee,
|
||||
"mxc://tedomum.net/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue