From a61ad309089a80e21001744f04127f0b562e666a Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sun, 15 Sep 2024 22:21:21 +1200 Subject: [PATCH] Annotate the specific step that is slow --- scripts/seed.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/seed.js b/scripts/seed.js index 55ada697..300ee29c 100755 --- a/scripts/seed.js +++ b/scripts/seed.js @@ -219,8 +219,6 @@ async function validateHomeserverOrigin(serverUrlPrompt, url) { as.close().catch(() => {}) - console.log("⏩ Processing. This could take up to 30 seconds. Please be patient...") - const mxid = `@${reg.sender_localpart}:${reg.ooye.server_name}` // ensure registration is correctly set... @@ -302,6 +300,7 @@ async function validateHomeserverOrigin(serverUrlPrompt, url) { console.log("✅ Discord profile updated...") // set profile data on homeserver... + console.log("⏩ Updating Matrix profile... (If you've joined lots of rooms, this is slow. Please allow at least 30 seconds.)") await api.profileSetDisplayname(mxid, "Out Of Your Element") await api.profileSetAvatarUrl(mxid, avatarUrl) console.log("✅ Matrix profile updated...")