diff --git a/index.js b/index.js index c99c216..29f8b38 100644 --- a/index.js +++ b/index.js @@ -28,6 +28,7 @@ function sleep(ms) { async function clientLoop(i) { const user = { id: `${userIDPrefix}${i}`, + name: `${userIDPrefix}${i}` }; const client = new StreamChat(apiKey, { allowServerSideConnect: true }); const token = serverSideClient.createToken(user.id); @@ -61,6 +62,7 @@ async function clientLoop(i) { async function clientSetup(i) { const user = { id: `${userIDPrefix}${i}`, + name: `${userIDPrefix}${i}` }; const token = serverSideClient.createToken(user.id); const client = new StreamChat(apiKey, { allowServerSideConnect: true });