mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:25:11 +00:00
[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:
parent
b773ebabc2
commit
dd180ee3f4
10 changed files with 29 additions and 28 deletions
|
|
@ -104,10 +104,7 @@ ParseeBotHandler(ParseeData *data, HashMap *event)
|
|||
char *body = GrabString(event, 2, "content", "body");
|
||||
char *id = GrabString(event, 1, "room_id");
|
||||
char *sender = GrabString(event, 1, "sender");
|
||||
char *profile = StrConcat(4,
|
||||
"@", data->config->sender_localpart,
|
||||
":", data->config->homeserver_host
|
||||
);
|
||||
char *profile = ParseeMXID(data);
|
||||
Command *cmd = NULL;
|
||||
ParseeCmdArg arg = {
|
||||
.data = data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue