mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:55:10 +00:00
parent
71f3836ee1
commit
3bef6afa5d
1 changed files with 2 additions and 0 deletions
|
|
@ -47,11 +47,13 @@ ASSend(const ParseeConfig *conf, char *id, char *user, char *type, HashMap *c, u
|
||||||
ts_str = TSToStr(ts);
|
ts_str = TSToStr(ts);
|
||||||
|
|
||||||
txn = StrRandom(16);
|
txn = StrRandom(16);
|
||||||
|
id = HttpUrlEncode(id);
|
||||||
path = StrConcat(11,
|
path = StrConcat(11,
|
||||||
"/_matrix/client/v3/rooms/",
|
"/_matrix/client/v3/rooms/",
|
||||||
id, "/send/", type, "/", txn, "?",
|
id, "/send/", type, "/", txn, "?",
|
||||||
"user_id=", user, "&ts=", ts_str
|
"user_id=", user, "&ts=", ts_str
|
||||||
);
|
);
|
||||||
|
Free(id);
|
||||||
Free(txn);
|
Free(txn);
|
||||||
Free(ts_str);
|
Free(ts_str);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue