diff options
author | Mark Haines <mark.haines@matrix.org> | 2017-02-13 11:16:53 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2017-02-13 11:16:53 +0000 |
commit | 3a46280ca3923d4f6e1103b9ee22bac0ddc2edf7 (patch) | |
tree | 55f95fff8a67aee7518167d2f522b090e6eaffd9 /synapse/app/synchrotron.py | |
parent | Merge pull request #1867 from matrix-org/erikj/member_index (diff) | |
download | synapse-3a46280ca3923d4f6e1103b9ee22bac0ddc2edf7.tar.xz |
Add db functions needed for room initial sync to slave
Diffstat (limited to 'synapse/app/synchrotron.py')
-rw-r--r-- | synapse/app/synchrotron.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py index b3fb408cfd..3f29595256 100644 --- a/synapse/app/synchrotron.py +++ b/synapse/app/synchrotron.py @@ -87,6 +87,10 @@ class SynchrotronSlavedStore( RoomMemberStore.__dict__["who_forgot_in_room"] ) + did_forget = ( + RoomMemberStore.__dict__["did_forget"] + ) + # XXX: This is a bit broken because we don't persist the accepted list in a # way that can be replicated. This means that we don't have a way to # invalidate the cache correctly. |