summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-14 10:36:55 +0100
committerErik Johnston <erik@matrix.org>2015-10-14 10:36:55 +0100
commitf45aaf0e35b447c15aace330d2daaa0005ad8461 (patch)
tree92823ca4cb4115df87a2fbdb59a1b29348be2bcd /synapse/api/constants.py
parentMake 'keys' optional (diff)
downloadsynapse-f45aaf0e35b447c15aace330d2daaa0005ad8461.tar.xz
Remove unused constatns
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 7c7f9ff957..008ee64727 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -84,22 +84,3 @@ class RoomCreationPreset(object):
     PRIVATE_CHAT = "private_chat"
     PUBLIC_CHAT = "public_chat"
     TRUSTED_PRIVATE_CHAT = "trusted_private_chat"
-
-
-class SearchConstraintTypes(object):
-    FTS = "fts"
-    EXACT = "exact"
-    PREFIX = "prefix"
-    SUBSTRING = "substring"
-    RANGE = "range"
-
-
-class KnownRoomEventKeys(object):
-    CONTENT_BODY = "content.body"
-    CONTENT_MSGTYPE = "content.msgtype"
-    CONTENT_NAME = "content.name"
-    CONTENT_TOPIC = "content.topic"
-
-    SENDER = "sender"
-    ORIGIN_SERVER_TS = "origin_server_ts"
-    ROOM_ID = "room_id"