Chore: Fix issues with conversation data models (#1000)
Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<thumbnail
|
||||
:src="contact.thumbnail"
|
||||
size="64px"
|
||||
:badge="contact.channel"
|
||||
:badge="channelType"
|
||||
:username="contact.name"
|
||||
:status="contact.availability_status"
|
||||
/>
|
||||
@@ -158,6 +158,9 @@ export default {
|
||||
} = this.browser;
|
||||
return `${platformName || ''} ${platformVersion || ''}`;
|
||||
},
|
||||
channelType() {
|
||||
return this.currentChat.meta?.channel;
|
||||
},
|
||||
contactId() {
|
||||
return this.currentChat.meta?.sender?.id;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user