26 Commits

Author SHA1 Message Date
unfunny
45c2aeea6d Fix: give MatrixClient a real store so client.getRoom() works
The default StubStore.getRoom() always returns null, so every received
message bailed at the room lookup ('got m.room.message for unknown room').
A MemoryStore keeps joined rooms available for lookup.
2026-09-13 17:50:43 -04:00
unfunny
e16a4b44d5 Add step-by-step diagnostics to message handler and echo command at startup 2026-09-13 17:34:17 -04:00
unfunny
871dbea460 Detect E2EE rooms and log a clear warning; remove catch-all event logging 2026-09-13 16:54:11 -04:00
unfunny
8b32397915 Debug: log joined rooms at startup and every received event 2026-09-13 16:50:55 -04:00
unfunny
5b431912e5 Fix: listen for the low-level client 'event' event instead of Room.timeline re-emit 2026-09-13 16:45:45 -04:00
unfunny
59a94036d0 Fix: guard Room.timeline handler against thread timeline events with no room object 2026-09-13 16:38:13 -04:00
unfunny
075f685691 Debug: log every incoming m.room.message event in Room.timeline handler 2026-09-13 16:35:12 -04:00
unfunny
f0245b22f9 Fix: use event.getRoomId() in invite handler (member.room can be undefined) 2026-09-13 16:30:54 -04:00
unfunny
bef1ddb723 Fix: use correct matrix-js-sdk v27 event names (Room.timeline, RoomMember.membership) and auto-accept invites 2026-09-13 16:27:27 -04:00
unfunny
979eaaab13 Fix: fetch bot's user ID via whoami so request URLs resolve 2026-09-13 16:17:14 -04:00
unfunny
9444ba8be5 Fix: implement explicit sync wait to resolve M_INVALID_PARAM 2026-09-13 15:41:46 -04:00
unfunny
fadb6235fe Fix: add extended wait loop for Matrix User ID resolution (30s timeout) 2026-09-13 15:24:56 -04:00
unfunny
18f36a7c5f Fix: add retry loop for Matrix UserID resolution to prevent M_INVALID_PARAM 2026-09-13 15:20:12 -04:00
unfunny
a33f99cda2 Fix: resolve syntax errors in index.js and improve error handling 2026-09-13 15:15:21 -04:00
unfunny
087d857ac4 Add error handling: validate env vars, catch unhandled rejections, log fatal errors 2026-09-13 14:52:17 -04:00
unfunny
c7b6c2314d Fix bot listening in joined rooms 2026-09-13 14:39:02 -04:00
unfunny
fe7351a7dc feat: complete Ancestor quote bot with production-ready Docker support 2026-09-13 14:14:38 -04:00
unfunny
f2016da05a docs: update deployment instructions with all three methods (.env file, docker run env vars, docker-compose) 2026-09-13 01:06:50 -04:00
unfunny
aa6c321b73 fix: keep process alive after initialization for continuous operation 2026-09-13 01:02:47 -04:00
unfunny
addf5075c0 fix: complete working Ancestor quote bot with Docker support 2026-09-13 00:58:22 -04:00
unfunny
afc70dbf01 fix: convert to ES modules for matrix-js-sdk v42 compatibility 2026-09-13 00:55:46 -04:00
unfunny
09097d3554 fix: update to MatrixClient API for matrix-js-sdk v41 2026-09-13 00:53:39 -04:00
unfunny
9fa9883172 fix: wrap loadQuotes in promise for CommonJS compatibility 2026-09-13 00:51:26 -04:00
unfunny
f9adcd20b8 feat: implement Ancestor quote bot with Docker support 2026-09-13 00:48:25 -04:00
unfunny
dfe4cc537f init 2026-09-13 00:29:11 -04:00
986c0af682 Initial commit 2026-09-13 04:27:26 +00:00