Rename ContactType to EmbeddedContactType
This commit is contained in:
parent
017a0fa807
commit
fe040a2873
16 changed files with 46 additions and 42 deletions
|
@ -129,7 +129,7 @@ const {
|
|||
Message: TypedMessage,
|
||||
Attachment,
|
||||
MIME,
|
||||
Contact,
|
||||
EmbeddedContact,
|
||||
Errors,
|
||||
} = window.Signal.Types;
|
||||
const {
|
||||
|
@ -678,7 +678,8 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
const contacts = this.get('contact');
|
||||
if (contacts && contacts.length) {
|
||||
return {
|
||||
text: Contact.getName(contacts[0]) || window.i18n('unknownContact'),
|
||||
text:
|
||||
EmbeddedContact.getName(contacts[0]) || window.i18n('unknownContact'),
|
||||
emoji: '👤',
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue