mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 22:55:11 +00:00
[MOD/META] Clarify LICENSE more, fix chatstates
This commit is contained in:
parent
63285ac24a
commit
2324f9afc0
4 changed files with 48 additions and 16 deletions
|
|
@ -30,8 +30,9 @@ ASType(const ParseeConfig *c, char *user, char *room, bool status)
|
|||
|
||||
json = HashMapCreate();
|
||||
HashMapSet(json, "typing", JsonValueBoolean(status));
|
||||
/* If someone types for 10 minutes straight, they got something weird man. */
|
||||
HashMapSet(json, "timeout", JsonValueBoolean(10 MINUTES));
|
||||
/* If someone types for 5 minutes straight, they got something
|
||||
* weird man. */
|
||||
HashMapSet(json, "timeout", JsonValueInteger(5 MINUTES));
|
||||
ctx = ParseeCreateRequest(c, HTTP_PUT, path);
|
||||
Free(path);
|
||||
ASAuthenticateRequest(c, ctx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue