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:
parent
94b53cde8b
commit
033eab5349
@ -97,7 +97,6 @@ impl TryFrom<proto::ContactAttachment> for ContactAttachment {
|
||||
prefix: _,
|
||||
suffix: _,
|
||||
middleName: _,
|
||||
displayName: _,
|
||||
special_fields: _,
|
||||
}) = name.as_ref()
|
||||
{}
|
||||
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
@ -475,7 +475,6 @@ message ContactAttachment {
|
||||
optional string prefix = 3;
|
||||
optional string suffix = 4;
|
||||
optional string middleName = 5;
|
||||
optional string displayName = 6;
|
||||
}
|
||||
|
||||
message Phone {
|
||||
|
Loading…
Reference in New Issue
Block a user