make sure new subscribe is sent in case of new contact added

This commit is contained in:
Jehan Monnier 2017-06-05 09:23:45 +02:00
parent c8c73c16d6
commit 57d4f11cb0

View file

@ -152,6 +152,9 @@ ContactModel *ContactsListModel::addContact (VcardModel *vcardModel) {
qInfo() << QStringLiteral("Add contact from vcard:") << contact << vcardModel;
//make sure new subscribe is issued
mLinphoneFriends->updateSubscriptions();
int row = mList.count();
beginInsertRows(QModelIndex(), row, row);