From e2facb4862f7d1075015806afd8bb3c032d673e0 Mon Sep 17 00:00:00 2001 From: Attila Gazso <230163+agazso@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:47:18 +0100 Subject: [PATCH] fix: change default babbles name and avatar (#501) --- src/lib/adapters/waku/index.ts | 6 +- .../babbles/chat/[id]/edit/+page.svelte | 75 ------------------- 2 files changed, 4 insertions(+), 77 deletions(-) diff --git a/src/lib/adapters/waku/index.ts b/src/lib/adapters/waku/index.ts index b8bdec61..d654a74f 100644 --- a/src/lib/adapters/waku/index.ts +++ b/src/lib/adapters/waku/index.ts @@ -484,9 +484,11 @@ export default class WakuAdapter implements Adapter { this.subscriptions.push(subscribeInstalledObjectStore) // subscribe to default Babbles - const defaultBabblesId = '0fbc5ad135290633aab3f37e5e0529fefa3c77cd9122b9a9e814bc8622e44d3f' + const defaultBabblesId = '67de48e09e52efce6a5f01197259c648412129dddc578bb2d6888aa69e2fed4c' if (!get(chats).chats.has(defaultBabblesId)) { - await this.startBabbles(wallet, defaultBabblesId, 'Babbles') + const defaultBabblesName = 'Cypher City' + const defaultBabblesAvatar = 'QmeQQ1RSav1ysrNoM4hpyKTEXKQ3bAt1keHU6MCkJNKScx' + await this.startBabbles(wallet, defaultBabblesId, defaultBabblesName, defaultBabblesAvatar) } // deferred updates diff --git a/src/routes/babbles/chat/[id]/edit/+page.svelte b/src/routes/babbles/chat/[id]/edit/+page.svelte index e18a544b..36ca9199 100644 --- a/src/routes/babbles/chat/[id]/edit/+page.svelte +++ b/src/routes/babbles/chat/[id]/edit/+page.svelte @@ -1,28 +1,20 @@