[MOD/META] Clarify LICENSE more, fix chatstates

This commit is contained in:
LDA 2024-09-22 18:36:53 +02:00
commit 2324f9afc0
4 changed files with 48 additions and 16 deletions

View file

@ -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);