mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-14 01:55:16 +00:00
[FIX] Fix broken chatstates
This commit is contained in:
parent
74f3fbdccc
commit
88bd2d27ad
3 changed files with 7 additions and 14 deletions
3
src/AS.c
3
src/AS.c
|
|
@ -807,7 +807,8 @@ ASType(const ParseeConfig *c, char *user, char *room, bool status)
|
|||
|
||||
json = HashMapCreate();
|
||||
HashMapSet(json, "typing", JsonValueBoolean(status));
|
||||
HashMapSet(json, "timeout", JsonValueBoolean(1 MINUTES));
|
||||
/* If someone types for 10 minutes straight, they got something weird man. */
|
||||
HashMapSet(json, "timeout", JsonValueBoolean(10 MINUTES));
|
||||
ctx = ParseeCreateRequest(c, HTTP_PUT, path);
|
||||
Free(path);
|
||||
ASAuthenticateRequest(c, ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue