diff options
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/transport.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/transport.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/transport.js b/packages/meshbay-hub/src/meshbay_hub/static/transport.js index 2f6680e..6cbcc3c 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/transport.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/transport.js @@ -164,13 +164,14 @@ class MeshBayTransport { return msg.messages || []; } - async sendChat(payload, iteration, threadId) { + async sendChat(payload, iteration, threadId, senderName) { const msg = await this._sendAndWait({ type: 'chat_msg', v: '0.1', payload: payload, iteration: iteration || 0, thread_id: threadId || null, + sender_name: senderName || null, }); return msg; } |