Skip to content

Commit 1032458

Browse files
committed
Change channel names in talkJsConfig
1 parent 1f61b9f commit 1032458

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

react/team-chat-with-threads/src/talkJsConfig.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
const talkJsConfig = {
22
appId: "<APP_ID>", // Replace this value with your app id
3-
userId: "remoteWorkDemoUser", // The user id for the user from who's perspective you're using the UI
3+
userId: "threadsChatDemoUser", // The user id for the user from who's perspective you're using the UI
44
/**
55
* Below is a couple of example conversations to get you up and running.
66
* The conversations are split into two categories, which is also reflected in the UI.
77
*/
88
conversations: {
99
channels: [
1010
{
11-
id: "remoteWorkMeetup",
11+
id: "threadsChatMeetup",
1212
subject: "meetup",
1313
avatar: "",
1414
welcomeMessages: ["Welcome to the meetup channel!"],
1515
},
1616
{
17-
id: "remoteWorkRandom",
17+
id: "threadsChatRandom",
1818
subject: "random",
1919
avatar: "",
2020
welcomeMessages: ["Welcome to the random channel!"],
2121
},
2222
{
23-
id: "remoteWorkDesign",
23+
id: "threadsChatDesign",
2424
subject: "design",
2525
avatar: "",
2626
welcomeMessages: ["Welcome to the design channel!"],
2727
},
2828
{
29-
id: "remoteWorkSales",
29+
id: "threadsChatSales",
3030
subject: "sales",
3131
avatar: "",
3232
welcomeMessages: ["Welcome to the sales channel!"],
3333
},
3434
],
3535
dms: [
3636
{
37-
id: "remoteWorkAnna",
37+
id: "threadsChatAnna",
3838
subject: "Anna",
3939
avatar: "https://talkjs.com/new-web/avatar-1.jpg",
4040
welcomeMessages: ["Hi there!"],
4141
role: "default",
4242
},
4343
{
44-
id: "remoteWorkBrian",
44+
id: "threadsChatBrian",
4545
subject: "Brian",
4646
avatar: "https://talkjs.com/new-web/avatar-2.jpg",
4747
welcomeMessages: ["Hi there!"],
4848
role: "default",
4949
},
5050
{
51-
id: "remoteWorkClarice",
51+
id: "threadsChatClarice",
5252
subject: "Clarice",
5353
avatar: "https://talkjs.com/new-web/avatar-6.jpg",
5454
welcomeMessages: ["Hi there!"],

0 commit comments

Comments
 (0)