diff options
author | Erik Johnston <erik@matrix.org> | 2018-11-08 12:14:20 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-11-08 12:18:38 +0000 |
commit | b1a22b24ab7532da993e673f353dd87eeef49151 (patch) | |
tree | 918a6518336a80970d9c468d28e18c33954a6f84 /AUTHORS.rst | |
parent | Port hash_password to Python 3 (#4161) (diff) | |
download | synapse-b1a22b24ab7532da993e673f353dd87eeef49151.tar.xz |
Fix noop checks when updating device keys
Clients often reupload their device keys (for some reason) so its important for the server to check for no-ops before sending out device list update notifications. The check is broken in python 3 due to the fact comparing bytes and unicode always fails, and that we write bytes to the DB but get unicode when we read.
Diffstat (limited to 'AUTHORS.rst')
0 files changed, 0 insertions, 0 deletions