Use system nickname or first name for incoming group calls

This commit is contained in:
ayumi-signal 2024-02-08 07:28:34 -08:00 committed by GitHub
parent 59b135ad7e
commit 4f97c8270c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 73 additions and 9 deletions

View file

@ -25,6 +25,8 @@ export type PropsType = {
| 'phoneNumber'
| 'profileName'
| 'sharedGroupNames'
| 'systemGivenName'
| 'systemNickname'
| 'title'
| 'type'
| 'unblurredAvatarPath'
@ -34,10 +36,18 @@ export type PropsType = {
ringMode: RingMode;
// The following should only be set for group conversations.
groupMembers?: Array<Pick<ConversationType, 'id' | 'firstName' | 'title'>>;
groupMembers?: Array<
Pick<
ConversationType,
'id' | 'firstName' | 'systemGivenName' | 'systemNickname' | 'title'
>
>;
isCallFull?: boolean;
peekedParticipants?: Array<
Pick<ConversationType, 'firstName' | 'title' | 'serviceId'>
Pick<
ConversationType,
'firstName' | 'systemGivenName' | 'systemNickname' | 'title' | 'serviceId'
>
>;
};