Create the correct events with the right configuration when creating a new room.

This commit is contained in:
Erik Johnston 2014-08-28 10:59:15 +01:00
parent f3f32addca
commit d2bc5d6f29
5 changed files with 104 additions and 21 deletions

View file

@ -42,3 +42,10 @@ class PresenceState(object):
UNAVAILABLE = u"unavailable"
ONLINE = u"online"
FREE_FOR_CHAT = u"free_for_chat"
class JoinRules(object):
PUBLIC = u"public"
KNOCK = u"knock"
INVITE = u"invite"
PRIVATE = u"private"