vue-advanced-chat icon indicating copy to clipboard operation
vue-advanced-chat copied to clipboard

Pin chats option

Open isbincApps opened this issue 2 years ago • 1 comments

hi, first at all congratulate you for this amazing lib

It would be great to be able to pin chats.

isbincApps avatar Apr 18 '22 19:04 isbincApps

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).

antoine92190 avatar May 07 '22 07:05 antoine92190