mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
All-1465 Move user conversations (#7340)
This commit is contained in:
@@ -148,7 +148,9 @@ class AttachConversationMiddleware(SessionMiddlewareInterface):
|
||||
Attach the user's session based on the provided authentication token.
|
||||
"""
|
||||
request.state.conversation = (
|
||||
await shared.conversation_manager.attach_to_conversation(request.state.sid)
|
||||
await shared.conversation_manager.attach_to_conversation(
|
||||
request.state.sid, get_user_id(request)
|
||||
)
|
||||
)
|
||||
if not request.state.conversation:
|
||||
return JSONResponse(
|
||||
|
||||
Reference in New Issue
Block a user