mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:55:10 +00:00
[FIX] Fix other little CI thing
This commit is contained in:
parent
696def187c
commit
1d188069db
1 changed files with 6 additions and 5 deletions
|
|
@ -25,19 +25,20 @@ ASGetRelations(const ParseeConfig *c, size_t n, char *room, char *event, char *t
|
||||||
}
|
}
|
||||||
|
|
||||||
user = StrConcat(4, "@", c->sender_localpart, ":", c->server_base);
|
user = StrConcat(4, "@", c->sender_localpart, ":", c->server_base);
|
||||||
if (event)
|
if (type)
|
||||||
{
|
{
|
||||||
path = StrConcat(6,
|
path = StrConcat(8,
|
||||||
"/_matrix/client/v1/rooms/", room,
|
"/_matrix/client/v1/rooms/", room,
|
||||||
"/relations/", event,
|
"/relations/", event, "/", type,
|
||||||
"?user_id=", user
|
"?user_id=", user
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
path = StrConcat(4,
|
path = StrConcat(6,
|
||||||
"/_matrix/client/v1/rooms/", room,
|
"/_matrix/client/v1/rooms/", room,
|
||||||
"/relations?user_id=", user
|
"/relations/", event,
|
||||||
|
"?user_id=", user
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Free(user);
|
Free(user);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue