[MOD] Use server_base instead of the API host

This wasn't an issue because the server I test on has the same API host
as its name.
This commit is contained in:
LDA 2024-07-26 17:13:02 +02:00
commit dd180ee3f4
10 changed files with 29 additions and 28 deletions

View file

@ -9,10 +9,7 @@
#include <Parsee.h>
#define BotInitialise() char *profile = StrConcat(4, \
"@", data->config->sender_localpart, \
":", data->config->homeserver_host \
); \
#define BotInitialise() char *profile = ParseeMXID(data); \
char *id = GrabString(event, 1, "room_id")
#define BotRequired(prop) prop = HashMapGet(cmd->arguments, #prop); \