diff --git a/src/components/inbox/InboxDetailsGroupMembers.vue b/src/components/inbox/InboxDetailsGroupMembers.vue index 181b8c8b..1a8b6ac7 100644 --- a/src/components/inbox/InboxDetailsGroupMembers.vue +++ b/src/components/inbox/InboxDetailsGroupMembers.vue @@ -16,6 +16,33 @@ list-disclosure( class="c-inbox-details-group-members" separated ) + list-button( + v-for="member in members" + size="small" + class="c-inbox-details-group-members__member" + ) + template( + v-slot:icon + ) + base-avatar( + :jid="member.jid" + class="c-inbox-details-group-members__avatar" + size="20px" + shadow="none" + ) + + template( + v-slot:default + ) + span.c-inbox-details-group-members__name.u-ellipsis + | {{ member.name }} + + base-presence( + :jid="member.jid" + size="tiny" + class="c-inbox-details-group-members__presence" + available-only + ) EVENT LISTENERS <-- @@ -63,6 +102,12 @@ export default { $c: ".c-inbox-details-group-members"; .c-inbox-details-group-members { - /* TODO */ + #{$c}__member { + #{$c}__presence { + margin-inline-start: 4px; + margin-block-start: 3px; + flex: 0 0 auto; + } + } }