Skip to content

Commit

Permalink
vcard4 init gender with undefined value to not accidently serialize it
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Jun 12, 2024
1 parent 6e668bc commit 7d70c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmpp/xmpp-im/xmpp_vcard4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ class VCard::VCardData : public QSharedData {
PAdvUris photo;
PHistorical bday; // at most 1
PHistorical anniversary; // at most 1
VCard4::Gender gender;
VCard4::Gender gender = Gender::Undefined;
QString genderComment;

// Delivery Addressing Properties
Expand Down

0 comments on commit 7d70c41

Please sign in to comment.