We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2556391 + 75a1664 commit 0ea383fCopy full SHA for 0ea383f
src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.cs
@@ -173,12 +173,14 @@ public async Task<Conversation> GetConversationRecordOrCreateNew(string agentId)
173
var state = _services.GetRequiredService<IConversationStateService>();
174
var channel = state.GetState("channel");
175
var channelId = state.GetState("channel_id");
176
+ var userId = state.GetState("current_user_id");
177
var sess = new Conversation
178
{
179
Id = _conversationId,
180
Channel = channel,
181
ChannelId = channelId,
- AgentId = agentId
182
+ AgentId = agentId,
183
+ UserId = userId,
184
};
185
converation = await NewConversation(sess);
186
}
0 commit comments