security: Fix security bugs, now ChronoChat should work with security

Change-Id: I81e7687bb4b02798ad9de3da34b36b0f011ffd66
diff --git a/src/invitation-dialog.cpp b/src/invitation-dialog.cpp
index 8be49fc..d14715b 100644
--- a/src/invitation-dialog.cpp
+++ b/src/invitation-dialog.cpp
@@ -38,6 +38,7 @@
                                 const Name& interestName)
 {
   string msg = alias;
+  m_invitationInterest = interestName;
   msg.append(" invites you to: ").append(chatroom);
   ui->msgLabel->setText(QString::fromStdString(msg));
 }