summary refs log tree commit diff
path: root/include/events/JoinRulesEventContent.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-05-03 15:23:06 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-05-04 17:11:04 +0300
commit8825e072f2dbb865a625a0b8b5c8a96646762ac2 (patch)
tree25c08f299885d5041474ae6614e94e339fddeae5 /include/events/JoinRulesEventContent.h
parentAdd StateEvent (diff)
downloadnheko-8825e072f2dbb865a625a0b8b5c8a96646762ac2.tar.xz
Add matrix::events namespace
Diffstat (limited to 'include/events/JoinRulesEventContent.h')
-rw-r--r--include/events/JoinRulesEventContent.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/events/JoinRulesEventContent.h b/include/events/JoinRulesEventContent.h

index 8b647fb4..ff03a26e 100644 --- a/include/events/JoinRulesEventContent.h +++ b/include/events/JoinRulesEventContent.h
@@ -22,6 +22,10 @@ #include "Deserializable.h" +namespace matrix +{ +namespace events +{ enum JoinRule { // A user who wishes to join the room must first receive // an invite to the room from someone already inside of the room. @@ -56,5 +60,7 @@ inline JoinRule JoinRulesEventContent::joinRule() const { return join_rule_; } +} // namespace events +} // namespace matrix #endif // JOIN_RULES_EVENT_CONTENT_H