0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 19:42:19 +02:00

Drop the displayName field from Contact.Name

This commit is contained in:
sashaweiss-signal 2024-09-06 10:25:26 -07:00 committed by Jordan Rose
parent 94b53cde8b
commit 033eab5349
3 changed files with 0 additions and 4 deletions

View File

@ -97,7 +97,6 @@ impl TryFrom<proto::ContactAttachment> for ContactAttachment {
prefix: _,
suffix: _,
middleName: _,
displayName: _,
special_fields: _,
}) = name.as_ref()
{}

View File

@ -246,7 +246,6 @@ impl serde::Serialize for proto::contact_attachment::Name {
prefix,
suffix,
middleName,
displayName,
special_fields: _,
} = self;
let mut ser = serializer.serialize_struct("Name", 6)?;
@ -255,7 +254,6 @@ impl serde::Serialize for proto::contact_attachment::Name {
ser.serialize_field("prefix", prefix)?;
ser.serialize_field("suffix", suffix)?;
ser.serialize_field("middleName", middleName)?;
ser.serialize_field("displayName", displayName)?;
ser.end()
}
}

View File

@ -475,7 +475,6 @@ message ContactAttachment {
optional string prefix = 3;
optional string suffix = 4;
optional string middleName = 5;
optional string displayName = 6;
}
message Phone {