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

Named Slot for message avatar #372

Closed
NINI1988 opened this issue Oct 11, 2022 · 2 comments
Closed

Named Slot for message avatar #372

NINI1988 opened this issue Oct 11, 2022 · 2 comments
Labels
enhancement New feature or request fixed The issues was fixed

Comments

@NINI1988
Copy link
Contributor

Is your feature request related to a problem? Please describe

At first, thanks for this great component :-)

It would be great if the message avatar could be also exchanged like for the room avatar.
We use a component for the user avatar, so we need to replace the image in the message by our component like for the room avatar.

Describe the solution you'd like

At a named slot for message avatar like room-list-avatar_{{ROOM_ID}} but for a message or per user.

So somethink like
message-avatar_{{MESSAGE_ID}} or message-avatar_{{USER_ID}}

@NINI1988 NINI1988 added the enhancement New feature or request label Oct 11, 2022
@antoine92190
Copy link
Collaborator

Indeed that makes sense to add this slot. Will do that shortly

@antoine92190
Copy link
Collaborator

message-avatar_{{MESSAGE_ID}} slot added in 48092be

@antoine92190 antoine92190 added the fixed The issues was fixed label Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed The issues was fixed
Projects
None yet
Development

No branches or pull requests

2 participants