diff options
author | Neil Johnson <neil@matrix.org> | 2019-04-03 11:11:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-03 11:11:15 +0100 |
commit | e8419554ffcb5ec41a1f5c22ebe89163f601170b (patch) | |
tree | d78e5838c94dccdfb32b5dbb47dfc43f25ca50f9 /synapse/replication | |
parent | Merge pull request #4982 from matrix-org/erikj/msc1915 (diff) | |
download | synapse-e8419554ffcb5ec41a1f5c22ebe89163f601170b.tar.xz |
Remove presence lists (#4989)
Remove presence list support as per MSC 1819
Diffstat (limited to 'synapse/replication')
-rw-r--r-- | synapse/replication/slave/storage/presence.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/replication/slave/storage/presence.py b/synapse/replication/slave/storage/presence.py index 9e530defe0..0ec1db25ce 100644 --- a/synapse/replication/slave/storage/presence.py +++ b/synapse/replication/slave/storage/presence.py @@ -39,16 +39,6 @@ class SlavedPresenceStore(BaseSlavedStore): _get_presence_for_user = PresenceStore.__dict__["_get_presence_for_user"] get_presence_for_users = PresenceStore.__dict__["get_presence_for_users"] - # 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. - get_presence_list_accepted = PresenceStore.__dict__[ - "get_presence_list_accepted" - ] - get_presence_list_observers_accepted = PresenceStore.__dict__[ - "get_presence_list_observers_accepted" - ] - def get_current_presence_token(self): return self._presence_id_gen.get_current_token() |