Skip to content

Add role to User#79

Merged
compulim merged 1 commit intomicrosoft:masterfrom
compulim:feat-role
Aug 14, 2018
Merged

Add role to User#79
compulim merged 1 commit intomicrosoft:masterfrom
compulim:feat-role

Conversation

@compulim
Copy link
Copy Markdown
Collaborator

@compulim compulim commented Jul 22, 2018

"role" is required for transcript in Emulator to work properly, and will enable multi-user scenario.

Currently, in User interface, we only have id, name, and iconUrl. They are not sufficient to clearly identify the origin of an activity. With the upcoming multi-user support, it will be more confusing between bot and users.

The newly added role will give a clearer sense on if the activity is from a bot or an user.

botbuilder-dotnet also has role defined in ChannelAccount.cs:68.

@compulim
Copy link
Copy Markdown
Collaborator Author

@Stevenic @tomlm Can you take a look at this PR if it's good on the protocol side?

Copy link
Copy Markdown

@Stevenic Stevenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@compulim compulim merged commit 3c666fd into microsoft:master Aug 14, 2018
@compulim compulim deleted the feat-role branch August 14, 2018 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants