diff options
author | Gary Kim <gary@garykim.dev> | 2021-05-28 00:00:01 +0300 |
---|---|---|
committer | Gary Kim <gary@garykim.dev> | 2021-07-14 20:44:31 +0300 |
commit | b885469c6c4884019b2f6bfd203da4ecedd8f1e0 (patch) | |
tree | dc9de3c61c23811cdb0bafe8e54df5567dd60173 /src/components/MessagesList/MessagesGroup/AuthorAvatar.vue | |
parent | aaf51b70b28100a2b34caa7ec827e494cd44dff2 (diff) |
Set avatar correctly
Signed-off-by: Gary Kim <gary@garykim.dev>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/AuthorAvatar.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/AuthorAvatar.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/AuthorAvatar.vue b/src/components/MessagesList/MessagesGroup/AuthorAvatar.vue index f8bd7b4a7..50fe49d0e 100644 --- a/src/components/MessagesList/MessagesGroup/AuthorAvatar.vue +++ b/src/components/MessagesList/MessagesGroup/AuthorAvatar.vue @@ -47,6 +47,7 @@ <script> import Avatar from '@nextcloud/vue/dist/Components/Avatar' +import { ATTENDEE } from '../../../constants' export default { name: 'AuthorAvatar', @@ -73,7 +74,7 @@ export default { return this.authorType === 'bots' && this.authorId === 'changelog' }, isUser() { - return this.authorType === 'users' + return this.authorType === 'users' || this.authorType === ATTENDEE.ACTOR_TYPE.BRIDGED }, isDeletedUser() { return this.authorType === 'deleted_users' |