Skip to content

Commit

Permalink
Create "UserProfile" property in user_state (microsoft#2146)
Browse files Browse the repository at this point in the history
The "UserProfile" property was created in the conversation state, though it should be in the user state, as it is in C# and JS samples.
  • Loading branch information
aramayyes authored and johnataylor committed Jan 24, 2020
1 parent 68df361 commit e2cf707
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, conversation_state: ConversationState, user_state: UserState)
self.user_state = user_state

self.flow_accessor = self.conversation_state.create_property("ConversationFlow")
self.profile_accessor = self.conversation_state.create_property("UserProfile")
self.profile_accessor = self.user_state.create_property("UserProfile")

async def on_message_activity(self, turn_context: TurnContext):
# Get the state properties from the turn context.
Expand Down

0 comments on commit e2cf707

Please sign in to comment.