diff --git a/protos/SignalStorage.proto b/protos/SignalStorage.proto index 4e5cc695457c..43cf7370f3b9 100644 --- a/protos/SignalStorage.proto +++ b/protos/SignalStorage.proto @@ -87,6 +87,8 @@ message ContactRecord { optional uint64 mutedUntilTimestamp = 13; optional bool hideStory = 14; optional uint64 unregisteredAtTimestamp = 16; + optional string systemGivenName = 17; + optional string systemFamilyName = 18; } message GroupV1Record { diff --git a/ts/components/StoriesSettingsModal.tsx b/ts/components/StoriesSettingsModal.tsx index b1957a28ed18..fd0251ea7d5b 100644 --- a/ts/components/StoriesSettingsModal.tsx +++ b/ts/components/StoriesSettingsModal.tsx @@ -819,7 +819,7 @@ export const EditDistributionList = ({ acceptedMessageRequest={contact.acceptedMessageRequest} avatarPath={contact.avatarPath} color={contact.color} - firstName={contact.firstName} + firstName={contact.systemGivenName ?? contact.firstName} i18n={i18n} id={contact.id} isMe={contact.isMe} diff --git a/ts/components/conversation/conversation-details/AddGroupMembersModal/ChooseGroupMembersModal.tsx b/ts/components/conversation/conversation-details/AddGroupMembersModal/ChooseGroupMembersModal.tsx index 98a18e049cf2..c3943f21c430 100644 --- a/ts/components/conversation/conversation-details/AddGroupMembersModal/ChooseGroupMembersModal.tsx +++ b/ts/components/conversation/conversation-details/AddGroupMembersModal/ChooseGroupMembersModal.tsx @@ -307,7 +307,7 @@ export const ChooseGroupMembersModal: FunctionComponent = ({ acceptedMessageRequest={contact.acceptedMessageRequest} avatarPath={contact.avatarPath} color={contact.color} - firstName={contact.firstName} + firstName={contact.systemGivenName ?? contact.firstName} i18n={i18n} isMe={contact.isMe} id={contact.id} diff --git a/ts/components/leftPane/LeftPaneChooseGroupMembersHelper.tsx b/ts/components/leftPane/LeftPaneChooseGroupMembersHelper.tsx index e6611d0e4506..8987be8d04bc 100644 --- a/ts/components/leftPane/LeftPaneChooseGroupMembersHelper.tsx +++ b/ts/components/leftPane/LeftPaneChooseGroupMembersHelper.tsx @@ -219,7 +219,7 @@ export class LeftPaneChooseGroupMembersHelper extends LeftPaneHelper