mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
parent
cbd92654cf
commit
7a25ae5b9c
1 changed files with 6 additions and 2 deletions
|
@ -267,8 +267,12 @@ public class ContactRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
|||
.withGivenName(nullIfEmpty(contactProto.systemGivenName))
|
||||
.withFamilyName(nullIfEmpty(contactProto.systemFamilyName))
|
||||
.withNickName(nullIfEmpty(contactProto.systemNickname))
|
||||
.withNickNameGivenName(nullIfEmpty(contactProto.givenName))
|
||||
.withNickNameFamilyName(nullIfEmpty(contactProto.familyName))
|
||||
.withNickNameGivenName(nullIfEmpty(contactProto.nickname == null
|
||||
? null
|
||||
: contactProto.nickname.given))
|
||||
.withNickNameFamilyName(nullIfEmpty(contactProto.nickname == null
|
||||
? null
|
||||
: contactProto.nickname.family))
|
||||
.withNote(nullIfEmpty(contactProto.note))
|
||||
.withUnregisteredTimestamp(contactProto.unregisteredAtTimestamp == 0
|
||||
? null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue