mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 20:49:24 -05:00
7941372ec8
The idea is that in future tokens will encode a mapping of instance to position. However, we don't want to include the full instance name in the string representation, so instead we'll have a mapping between instance name and an immutable integer ID in the DB that we can use instead. We'll then do the lookup when we serialize/deserialize the token (we could alternatively pass around an `Instance` type that includes both the name and ID, but that turns out to be a lot more invasive). |
||
---|---|---|
.. | ||
__init__.py | ||
test_directory.py | ||
test_events.py | ||
test_login.py | ||
test_presence.py | ||
test_profile.py | ||
test_push_rule_attrs.py | ||
test_rooms.py | ||
test_typing.py | ||
utils.py |