From 7a2ce51f6e8e440d667e04455ec04648815932fc Mon Sep 17 00:00:00 2001 From: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> Date: Wed, 2 Jun 2021 10:59:15 +0200 Subject: [PATCH] Update toychat default content topic (#583) --- examples/v2/config_chat2.nim | 4 ++-- examples/v2/matterbridge/config_chat2bridge.nim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/v2/config_chat2.nim b/examples/v2/config_chat2.nim index 559b54fb1..a80be7041 100644 --- a/examples/v2/config_chat2.nim +++ b/examples/v2/config_chat2.nim @@ -190,7 +190,7 @@ type contentTopic* {. desc: "Content topic for chat messages." - defaultValue: "/waku/2/huilong/proto" + defaultValue: "/toy-chat/2/huilong/proto" name: "content-topic" }: string # NOTE: Keys are different in nim-libp2p @@ -226,4 +226,4 @@ proc completeCmdArg*(T: type Port, val: TaintedString): seq[string] = func defaultListenAddress*(conf: Chat2Conf): ValidIpAddress = # TODO: How should we select between IPv4 and IPv6 # Maybe there should be a config option for this. - (static ValidIpAddress.init("0.0.0.0")) \ No newline at end of file + (static ValidIpAddress.init("0.0.0.0")) diff --git a/examples/v2/matterbridge/config_chat2bridge.nim b/examples/v2/matterbridge/config_chat2bridge.nim index 783343b2f..0f3c7b00c 100644 --- a/examples/v2/matterbridge/config_chat2bridge.nim +++ b/examples/v2/matterbridge/config_chat2bridge.nim @@ -126,7 +126,7 @@ type contentTopic* {. desc: "Content topic to bridge chat messages to." - defaultValue: "/waku/2/huilong/proto" + defaultValue: "/toy-chat/2/huilong/proto" name: "content-topic" }: string proc parseCmdArg*(T: type keys.KeyPair, p: TaintedString): T =