phones now also saveble

This commit is contained in:
Blue 2019-11-06 18:14:49 +03:00
parent c1c1de1b7b
commit 2c13f0d77c
10 changed files with 413 additions and 3 deletions

View file

@ -218,6 +218,7 @@ void Core::initializeQXmppVCard(QXmppVCardIq& iq, const Shared::VCard& card) {
itr = phones.emplace(mPh.number, QXmppVCardPhone()).first;
}
QXmppVCardPhone& phone = itr->second;
phone.setNumber(mPh.number);
switch (mPh.type) {
case Shared::VCard::Phone::fax: