Better Matrix plumbed room migration
Better Matrix plumbed room migration
- Add a notice for the previous plumbed room pointing to the new spot to chat in
- Log failed migrations to a file
- Fix link to migrated room
- We fixed up the already posted broken notices with this utility script: https://gitlab.com/MadLittleMods/fix-matrix-plumb-migration-messages/-/blob/master/fix-notices-in-matrix-rooms.js
- Properly resume stream after bad JSON or random object
- I was seeing a problem where the script would consistently stop after a certain room. This was caused by some a bad object
{"matrix":{"extras":{}},"remote":{},"data":{},"id":"undefined undefined","_id":"9i9LimforOlcgCHa"}
which I would expect to fail and move on. But instead we returned and failed to resume the stream again.
- I was seeing a problem where the script would consistently stop after a certain room. This was caused by some a bad object
Part of #2674 (closed)
Part of https://github.com/matrix-org/matrix-appservice-gitter/issues/104
Follow-up to !2119 (merged)
Edited by Eric Eastwood