From 57d4f11cb01b88464f8771c299dc2f39a6f97f81 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Mon, 5 Jun 2017 09:23:45 +0200 Subject: [PATCH] make sure new subscribe is sent in case of new contact added --- linphone-desktop/src/components/contacts/ContactsListModel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linphone-desktop/src/components/contacts/ContactsListModel.cpp b/linphone-desktop/src/components/contacts/ContactsListModel.cpp index 43e555030..13bde97a1 100644 --- a/linphone-desktop/src/components/contacts/ContactsListModel.cpp +++ b/linphone-desktop/src/components/contacts/ContactsListModel.cpp @@ -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);