Closed tux93 closed 1 year ago
Describe the bug After updating to Dendrite 0.9.6 matrix-appservice-discord no longer works and is throwing exceptions. Also reported at Dendrite
To Reproduce Steps to reproduce the behavior:
Expected behavior Messages are sent to and received from Discord
Desktop (please complete the following information):
Additional context
Sep 01 22:36:12 node[6098]: Sep-1 22:36:12.721 [DiscordAS] error: Exception thrown while handling "room.event" event TypeError: Cannot read properties of undefined (reading 'age') Sep 01 22:36:12 node[6098]: at MatrixEventProcessor.<anonymous> (/home/matrix-discord/matrix-appservice-discord/src/matrixeventprocessor.ts:94:28) Sep 01 22:36:12 node[6098]: at Generator.next (<anonymous>) Sep 01 22:36:12 node[6098]: at /home/matrix-discord/matrix-appservice-discord/build/src/matrixeventprocessor.js:23:71 Sep 01 22:36:12 node[6098]: at new Promise (<anonymous>) Sep 01 22:36:12 node[6098]: at __awaiter (/home/matrix-discord/matrix-appservice-discord/build/src/matrixeventprocessor.js:19:12) Sep 01 22:36:12 node[6098]: at MatrixEventProcessor.OnEvent (/home/matrix-discord/matrix-appservice-discord/build/src/matrixeventprocessor.js:78:16) Sep 01 22:36:12 node[6098]: at /home/matrix-discord/matrix-appservice-discord/src/discordas.ts:211:34 Sep 01 22:36:12 node[6098]: at Generator.next (<anonymous>) Sep 01 22:36:12 node[6098]: at fulfilled (/home/matrix-discord/matrix-appservice-discord/build/src/discordas.js:5:58) Sep 01 22:36:12 node[6098]: at processTicksAndRejections (node:internal/process/task_queues:96:5)
That sounds like we're relying on the unstable field age.
age
Describe the bug After updating to Dendrite 0.9.6 matrix-appservice-discord no longer works and is throwing exceptions. Also reported at Dendrite
To Reproduce Steps to reproduce the behavior:
Expected behavior Messages are sent to and received from Discord
Desktop (please complete the following information):
Additional context