Merge pull request #188 from status-im/toy-chat-content-topic

Update toy-chat content topic
This commit is contained in:
Franck Royer 2021-06-03 18:38:40 +10:00 committed by GitHub
commit 9a250954c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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<void> {
let opts = processArguments();

View File

@ -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,