diff options
author | Erik Johnston <erik@matrix.org> | 2017-07-18 09:47:25 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-07-18 09:47:25 +0100 |
commit | 6e9f147faa528c7493dbaa4e12b64baef2379d83 (patch) | |
tree | 2de4e2f8c805bb1a5b9683cc3f7c0733c422fee1 | |
parent | Remove unused tables (diff) | |
download | synapse-6e9f147faa528c7493dbaa4e12b64baef2379d83.tar.xz |
Add GroupID type
-rw-r--r-- | synapse/types.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/types.py b/synapse/types.py index 111948540d..b32c0e360d 100644 --- a/synapse/types.py +++ b/synapse/types.py @@ -156,6 +156,11 @@ class EventID(DomainSpecificString): SIGIL = "$" +class GroupID(DomainSpecificString): + """Structure representing a group ID.""" + SIGIL = "+" + + class StreamToken( namedtuple("Token", ( "room_key", |