mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:06:08 -04:00
Delete e2e keys on device delete
This commit is contained in:
parent
2e3d90d67c
commit
d47115ff8b
3 changed files with 28 additions and 4 deletions
|
@ -143,6 +143,10 @@ class DeviceHandler(BaseHandler):
|
|||
delete_refresh_tokens=True,
|
||||
)
|
||||
|
||||
yield self.store.delete_e2e_keys_by_device(
|
||||
user_id=user_id, device_id=device_id
|
||||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def update_device(self, user_id, device_id, content):
|
||||
""" Update the given device
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue