summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/external/matrix/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/external/matrix/index.js b/includes/external/matrix/index.js
index 8e6f0b8..c01b3d2 100644
--- a/includes/external/matrix/index.js
+++ b/includes/external/matrix/index.js
@@ -109,8 +109,7 @@ client.once("sync", async function (state, prevState, res) {
});
if (user === "raindrops" && name === "Hazy Stardawn") {
- child_process.execSync("convert " + avatar1 + " -set colorspace Gray -separate -average /tmp/chm-" + user + ".webp");
-
+ await sleep(2000);
let res2 = await client.uploadContent(fs.readFileSync("../../../assets/uploads/hazy.png"));
await axios.put("https://chat.equestria.dev/_matrix/client/r0/rooms/" + encodeURIComponent(require('../../app.json')['matrix']['room']) + "/state/m.room.member/%40raindrops%3Aequestria.dev", {