diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-01 16:15:34 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-01 16:15:34 +0100 |
commit | db7109c43b298a0b647188dde45724bfc7300915 (patch) | |
tree | f723dc8bbda9446fa4728cacd59b06e887ec5663 /synapse/api/constants.py | |
parent | Implement power level lists, default power levels and send_evnet_level/add_st... (diff) | |
download | synapse-db7109c43b298a0b647188dde45724bfc7300915.tar.xz |
Add beginnings of ban support.
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r-- | synapse/api/constants.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 9b5b9f5936..668ffa07ca 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -23,7 +23,8 @@ class Membership(object): JOIN = u"join" KNOCK = u"knock" LEAVE = u"leave" - LIST = (INVITE, JOIN, KNOCK, LEAVE) + BAN = u"ban" + LIST = (INVITE, JOIN, KNOCK, LEAVE, BAN) class Feedback(object): |