mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-21 06:30:21 -04:00
Add groups to sync stream
This commit is contained in:
parent
b3bf6a1218
commit
c544188ee3
8 changed files with 161 additions and 8 deletions
|
@ -171,6 +171,7 @@ class StreamToken(
|
|||
"push_rules_key",
|
||||
"to_device_key",
|
||||
"device_list_key",
|
||||
"groups_key",
|
||||
))
|
||||
):
|
||||
_SEPARATOR = "_"
|
||||
|
@ -209,6 +210,7 @@ class StreamToken(
|
|||
or (int(other.push_rules_key) < int(self.push_rules_key))
|
||||
or (int(other.to_device_key) < int(self.to_device_key))
|
||||
or (int(other.device_list_key) < int(self.device_list_key))
|
||||
or (int(other.groups_key) < int(self.groups_key))
|
||||
)
|
||||
|
||||
def copy_and_advance(self, key, new_value):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue