|
1 | 1 | const talkJsConfig = {
|
2 | 2 | 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 |
4 | 4 | /**
|
5 | 5 | * Below is a couple of example conversations to get you up and running.
|
6 | 6 | * The conversations are split into two categories, which is also reflected in the UI.
|
7 | 7 | */
|
8 | 8 | conversations: {
|
9 | 9 | channels: [
|
10 | 10 | {
|
11 |
| - id: "remoteWorkMeetup", |
| 11 | + id: "threadsChatMeetup", |
12 | 12 | subject: "meetup",
|
13 | 13 | avatar: "",
|
14 | 14 | welcomeMessages: ["Welcome to the meetup channel!"],
|
15 | 15 | },
|
16 | 16 | {
|
17 |
| - id: "remoteWorkRandom", |
| 17 | + id: "threadsChatRandom", |
18 | 18 | subject: "random",
|
19 | 19 | avatar: "",
|
20 | 20 | welcomeMessages: ["Welcome to the random channel!"],
|
21 | 21 | },
|
22 | 22 | {
|
23 |
| - id: "remoteWorkDesign", |
| 23 | + id: "threadsChatDesign", |
24 | 24 | subject: "design",
|
25 | 25 | avatar: "",
|
26 | 26 | welcomeMessages: ["Welcome to the design channel!"],
|
27 | 27 | },
|
28 | 28 | {
|
29 |
| - id: "remoteWorkSales", |
| 29 | + id: "threadsChatSales", |
30 | 30 | subject: "sales",
|
31 | 31 | avatar: "",
|
32 | 32 | welcomeMessages: ["Welcome to the sales channel!"],
|
33 | 33 | },
|
34 | 34 | ],
|
35 | 35 | dms: [
|
36 | 36 | {
|
37 |
| - id: "remoteWorkAnna", |
| 37 | + id: "threadsChatAnna", |
38 | 38 | subject: "Anna",
|
39 | 39 | avatar: "https://talkjs.com/new-web/avatar-1.jpg",
|
40 | 40 | welcomeMessages: ["Hi there!"],
|
41 | 41 | role: "default",
|
42 | 42 | },
|
43 | 43 | {
|
44 |
| - id: "remoteWorkBrian", |
| 44 | + id: "threadsChatBrian", |
45 | 45 | subject: "Brian",
|
46 | 46 | avatar: "https://talkjs.com/new-web/avatar-2.jpg",
|
47 | 47 | welcomeMessages: ["Hi there!"],
|
48 | 48 | role: "default",
|
49 | 49 | },
|
50 | 50 | {
|
51 |
| - id: "remoteWorkClarice", |
| 51 | + id: "threadsChatClarice", |
52 | 52 | subject: "Clarice",
|
53 | 53 | avatar: "https://talkjs.com/new-web/avatar-6.jpg",
|
54 | 54 | welcomeMessages: ["Hi there!"],
|
|
0 commit comments