Browse Source

feat(federation): show proxy avatars when creating new conversation or accepting invitation

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
pull/11890/head
Maksim Sukharev 2 years ago
parent
commit
df7d157c5c
No known key found for this signature in database GPG Key ID: 6349D071889BD1D5
  1. 1
      src/components/ContactSelectionBubble.vue
  2. 2
      src/components/LeftSidebar/InvitationHandler.vue
  3. 2
      src/components/RightSidebar/Participants/Participant.vue

1
src/components/ContactSelectionBubble.vue

@ -22,6 +22,7 @@
<template>
<div class="contact-selection-bubble">
<AvatarWrapper :id="participant.id"
token="new"
class="contact-selection-bubble__avatar"
:name="participant.label"
:source="participant.source"

2
src/components/LeftSidebar/InvitationHandler.vue

@ -162,7 +162,7 @@ export default {
return {
user: {
component: Mention,
props: { id, name: item.inviterDisplayName, server, token: item.token, type: 'user' }
props: { id, name: item.inviterDisplayName, server, token: item.token || 'new', type: 'user' }
}
}
},

2
src/components/RightSidebar/Participants/Participant.vue

@ -36,7 +36,7 @@
@keydown.enter="handleClick">
<!-- Participant's avatar -->
<AvatarWrapper :id="computedId"
:token="token"
:token="isSearched ? 'new' : token"
:name="computedName"
:source="participant.source || participant.actorType"
:disable-menu="isSearched"

Loading…
Cancel
Save