Skip to content

Commit

Permalink
- Messages used to get ignored if they were over 1 second old. This c…
Browse files Browse the repository at this point in the history
…aused issues with messages being ignored on servers that took longer than a second to respond (*cough* matrix.org *cough*). Now it accepts all new messages. Moving forward any messages that are sent before Node-RED starts or gets deployed will be ignored (so that old messages don't pop up since the cache clears every deploy/node-red restart so old messages look like new ones).

- When the matrix-server node would shut down (from a deployment) it wasn't properly shutting the old instance of the client down. This would cause messages to start duplicating X times (X being however many times you deployed since you last started Node-RED). This is now fixed.
- Upgraded to matrix-js-sdk 15.3.0
- Message processing is now done on the matrix-server node. Before if you had multiple matrix-receive nodes it would output one line per matrix-receive node into the log. Now it only outputs from the matrix-server node. Note that all messages get logged that are sent to rooms the bot is in whereas before it would only log message in rooms the matrix-receive node was in.
- Fixed Shared secret registration failing if user_type was defined.
  • Loading branch information
skylord123 committed Jan 14, 2022
1 parent 0b9c59a commit 25c92b7
Show file tree
Hide file tree
Showing 6 changed files with 9,298 additions and 3,599 deletions.
Loading

0 comments on commit 25c92b7

Please sign in to comment.