vue-advanced-chat
vue-advanced-chat copied to clipboard
Pin chats option
hi, first at all congratulate you for this amazing lib
It would be great to be able to pin chats.
You can probably already implement that using room-actions
prop:
room-actions="[
{
name: 'favoriteRoom',
title: 'Pin Room'
}
]"
Then when a room is pinned, you can use room-list-avatar
slot for example, and add a star icon on the avatar of the room for example. Or set a specific background color to a room list item using getElementById(roomId)
.