Adding invitation rejection notification
diff --git a/src/contactpanel.cpp b/src/contactpanel.cpp
index 95e1922..dd52334 100644
--- a/src/contactpanel.cpp
+++ b/src/contactpanel.cpp
@@ -674,6 +674,8 @@
this, SLOT(removeChatDialog(const ndn::Name&)));
connect(chatDialog, SIGNAL(noNdnConnection(const QString&)),
this, SLOT(showError(const QString&)));
+ connect(chatDialog, SIGNAL(inivationRejection(const QString&)),
+ this, SLOT(showWarning(const QString&)));
// send invitation
chatDialog->sendInvitation(inviteeItem, isIntroducer);
@@ -697,6 +699,8 @@
this, SLOT(removeChatDialog(const ndn::Name&)));
connect(chatDialog, SIGNAL(noNdnConnection(const QString&)),
this, SLOT(showError(const QString&)));
+ connect(chatDialog, SIGNAL(inivationRejection(const QString&)),
+ this, SLOT(showWarning(const QString&)));
chatDialog->addChatDataRule(invitation.getInviterPrefix(), identityCertificate, true);
chatDialog->publishIntroCert(identityCertificate, true);