Add token auto-refresh, device persistence, and cross-signing
Following gogobee's auth pattern: if MATRIX_BOT_PASSWORD is set, the bot persists device credentials to device.json, validates tokens on startup, re-logs in automatically when tokens expire, and bootstraps cross-signing so the device shows as verified without manual emoji verification. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
0cfed504a1
commit
d6c8d4f599
+3
-2
@@ -1,5 +1,6 @@
|
||||
.env
|
||||
*.db
|
||||
*.db.bak
|
||||
pastel
|
||||
migrate
|
||||
device.json
|
||||
/pastel
|
||||
/migrate
|
||||
|
||||
Reference in New Issue
Block a user