mirror of https://github.com/status-im/js-waku.git
Update toy-chat content topic
As per https://github.com/status-im/nim-waku/pull/583
This commit is contained in:
parent
0e4a891576
commit
03febcc276
|
@ -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:
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue