mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:45:10 +00:00
[MOD] Change media path, connect to component through another address
This commit is contained in:
parent
c433e31461
commit
5e1931a19f
9 changed files with 30 additions and 9 deletions
|
|
@ -223,9 +223,11 @@ Main(Array *args, HashMap *env)
|
|||
|
||||
Log(LOG_NOTICE, "Connecting to XMPP...");
|
||||
jabber = XMPPInitialiseCompStream(
|
||||
parsee_conf->component_addr,
|
||||
parsee_conf->component_host,
|
||||
parsee_conf->component_port
|
||||
);
|
||||
Log(LOG_NOTICE, "Connecting to XMPP... %p", jabber);
|
||||
if (!XMPPAuthenticateCompStream(
|
||||
jabber,
|
||||
parsee_conf->shared_comp_secret
|
||||
|
|
@ -290,7 +292,6 @@ Main(Array *args, HashMap *env)
|
|||
{
|
||||
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