First-class profile name rendering

This commit is contained in:
Scott Nonnenberg 2020-07-23 18:35:32 -07:00
parent 632cd0e87e
commit d07b8e82b2
63 changed files with 1044 additions and 454 deletions

View file

@ -409,14 +409,11 @@ export class CallingClass {
call: Call
): CallDetailsType {
return {
avatarPath: conversation.getAvatarPath(),
...conversation.cachedProps,
callId: call.callId,
contactColor: conversation.getColor(),
isIncoming: call.isIncoming,
isVideoCall: call.isVideoCall,
name: conversation.getName(),
phoneNumber: conversation.getNumber(),
profileName: conversation.getProfileName(),
};
}