Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile avatar #263

Merged
merged 3 commits into from
Jul 29, 2021
Merged

Profile avatar #263

merged 3 commits into from
Jul 29, 2021

Conversation

renzowolox
Copy link
Collaborator

Summary

  • Prop that allows adding a profile avatar to client messages

Screenshots

profile-client-avatar

Issue

#212 - how to add profileAvatar for user?

@@ -15,10 +15,11 @@ export function toggleInputDisabled(): actionsTypes.ToggleInputDisabled {
};
}

export function addUserMessage(text: string, id?: string): actionsTypes.AddUserMessage {
export function addUserMessage(text: string, showClientAvatar: boolean, id?: string): actionsTypes.AddUserMessage {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be only a prop, why add it to the function that creates a new message?

@mcallegari10 mcallegari10 merged commit d8b205f into master Jul 29, 2021
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