feat: Add presence heartbeat for Matrix online status

- matrix-gateway: POST /internal/matrix/presence/online endpoint
- usePresenceHeartbeat hook with activity tracking
- Auto away after 5 min inactivity
- Offline on page close/visibility change
- Integrated in MatrixChatRoom component
This commit is contained in:
Apple
2025-11-27 00:19:40 -08:00
parent 5bed515852
commit 3de3c8cb36
6371 changed files with 1317450 additions and 932 deletions

34
node_modules/thenify-all/package.json generated vendored Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "thenify-all",
"description": "Promisifies all the selected functions in an object",
"version": "1.6.0",
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",
"license": "MIT",
"repository": "thenables/thenify-all",
"dependencies": {
"thenify": ">= 3.1.0 < 4"
},
"devDependencies": {
"bluebird": "2",
"istanbul": "0",
"mocha": "2"
},
"scripts": {
"test": "mocha --reporter spec",
"test-cov": "istanbul cover node_modules/.bin/_mocha -- --reporter dot",
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter dot"
},
"keywords": [
"promisify",
"promise",
"thenify",
"then",
"es6"
],
"files": [
"index.js"
],
"engines": {
"node": ">=0.8"
}
}