summaryrefslogtreecommitdiffstats
path: root/include/events/JoinRulesEventContent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/events/JoinRulesEventContent.h')
-rw-r--r--include/events/JoinRulesEventContent.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/events/JoinRulesEventContent.h b/include/events/JoinRulesEventContent.h
index 738be9d3..b9b6848d 100644
--- a/include/events/JoinRulesEventContent.h
+++ b/include/events/JoinRulesEventContent.h
@@ -21,11 +21,10 @@
#include "Deserializable.h"
-namespace matrix
+namespace matrix {
+namespace events {
+enum class JoinRule
{
-namespace events
-{
-enum class JoinRule {
// A user who wishes to join the room must first receive
// an invite to the room from someone already inside of the room.
Invite,