This commit is contained in:
Cadence Ember 2023-09-24 03:24:56 +13:00
parent a904802dac
commit 2e68c7edf5
2 changed files with 1 additions and 2 deletions

View file

@ -1823,7 +1823,6 @@ slow()("event2message: known and unknown emojis in the end are reuploaded as a s
fileName: messages.messagesToSend[0].pendingFiles[0].name, fileName: messages.messagesToSend[0].pendingFiles[0].name,
fileContentStart: messages.messagesToSend[0].pendingFiles[0].buffer.subarray(0, 90).toString("base64") fileContentStart: messages.messagesToSend[0].pendingFiles[0].buffer.subarray(0, 90).toString("base64")
} }
require("fs").writeFileSync("/tmp/emojis.png", messages.messagesToSend[0].pendingFiles[0].buffer)
t.deepEqual(testResult, { t.deepEqual(testResult, {
content: "known unknown: <:hippo:230201364309868544> [:ms_robot_dress:](https://matrix.cadence.moe/_matrix/media/r0/download/cadence.moe/wcouHVjbKJJYajkhJLsyeJAA) and known unknown:", content: "known unknown: <:hippo:230201364309868544> [:ms_robot_dress:](https://matrix.cadence.moe/_matrix/media/r0/download/cadence.moe/wcouHVjbKJJYajkhJLsyeJAA) and known unknown:",
fileName: "emojis.png", fileName: "emojis.png",

View file

@ -107,7 +107,7 @@ Follow these steps:
├── m2d ├── m2d
│   * Execute actions through the whole flow, like sending a Matrix message to Discord: │   * Execute actions through the whole flow, like sending a Matrix message to Discord:
│   ├── actions │   ├── actions
│   │   ── *.js │   │   ── *.js
│   ├── converters │   ├── converters
│   │   └── *.js │   │   └── *.js
│   └── event-dispatcher.js │   └── event-dispatcher.js