diff options
author | Eric Eastwood <eric.eastwood@beta.gouv.fr> | 2024-06-04 12:58:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 12:58:03 -0500 |
commit | 7d8f0ef351e99adf602b3acb67b2516a02ff6918 (patch) | |
tree | f8fdbcd3578d0866a236e589062b80360f549a3b /synapse/storage/roommember.py | |
parent | Merge branch 'release-v1.109' into develop (diff) | |
download | synapse-7d8f0ef351e99adf602b3acb67b2516a02ff6918.tar.xz |
Use fully-qualified `PersistedEventPosition` when returning `RoomsForUser` (#17265)
Use fully-qualified `PersistedEventPosition` (`instance_name` and `stream_ordering`) when returning `RoomsForUser` to facilitate proper comparisons and `RoomStreamToken` generation. Spawning from https://github.com/element-hq/synapse/pull/17187 where we want to utilize this change
Diffstat (limited to 'synapse/storage/roommember.py')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 7471f81a19..80c9630867 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -35,7 +35,7 @@ class RoomsForUser: sender: str membership: str event_id: str - stream_ordering: int + event_pos: PersistedEventPosition room_version_id: str |