Invitation works
diff --git a/src/invitation-policy-manager.cpp b/src/invitation-policy-manager.cpp
index b526bb6..a8b75fb 100644
--- a/src/invitation-policy-manager.cpp
+++ b/src/invitation-policy-manager.cpp
@@ -27,9 +27,9 @@
, m_certificateCache(certificateCache)
, m_localPrefixRegex(Ptr<Regex>(new Regex("^<local><ndn><prefix><><>$")))
{
- // m_invitationDataRule = Ptr<IdentityPolicyRule>(new IdentityPolicyRule("^<ndn><broadcast><chronos><invitation>([^<chatroom>]*)<chatroom>",
- // "^([^<KEY>]*)<KEY><DSK-.*><ID-CERT><>$",
- // "==", "\\1", "\\1", true));
+ m_invitationDataRule = Ptr<IdentityPolicyRule>(new IdentityPolicyRule("^<ndn><broadcast><chronos><invitation>([^<chatroom>]*)<chatroom>",
+ "^([^<KEY>]*)<KEY><DSK-.*><ID-CERT><>$",
+ "==", "\\1", "\\1", true));
m_dskRule = Ptr<IdentityPolicyRule>(new IdentityPolicyRule("^([^<KEY>]*)<KEY><DSK-.*><ID-CERT><>$",
"^([^<KEY>]*)<KEY>(<>*)<KSK-.*><ID-CERT><>$",