From 03febcc2760869dd4e9feb3c3c804fb9289b4eda Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 1 Jun 2021 15:27:14 +1000 Subject: [PATCH] Update toy-chat content topic As per https://github.com/status-im/nim-waku/pull/583 --- README.md | 2 +- examples/cli-chat/src/chat.ts | 2 +- examples/web-chat/src/App.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1916b7bc9d..6b71244557 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ waku.relay.addObserver((msg) => { }, ["/my-cool-app/1/my-use-case/proto"]); ``` -The examples chat apps currently use content topic `"/waku/2/huilong/proto"`. +The examples chat apps currently use content topic `"/toy-chat/2/huilong/proto"`. Send a message on the waku relay network: diff --git a/examples/cli-chat/src/chat.ts b/examples/cli-chat/src/chat.ts index c075a097c0..32d286740e 100644 --- a/examples/cli-chat/src/chat.ts +++ b/examples/cli-chat/src/chat.ts @@ -15,7 +15,7 @@ import TCP from 'libp2p-tcp'; import { multiaddr, Multiaddr } from 'multiaddr'; import PeerId from 'peer-id'; -const ChatContentTopic = '/waku/2/huilong/proto'; +const ChatContentTopic = '/toy-chat/2/huilong/proto'; export default async function startChat(): Promise { let opts = processArguments(); diff --git a/examples/web-chat/src/App.tsx b/examples/web-chat/src/App.tsx index fc52d8ea3f..2c10bb5f24 100644 --- a/examples/web-chat/src/App.tsx +++ b/examples/web-chat/src/App.tsx @@ -44,7 +44,7 @@ const themes = { }, }; -export const ChatContentTopic = '/waku/2/huilong/proto'; +export const ChatContentTopic = '/toy-chat/2/huilong/proto'; async function retrieveStoreMessages( waku: Waku,