diff options
author | David Robertson <davidr@element.io> | 2023-03-21 22:23:08 +0000 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2023-03-21 22:23:08 +0000 |
commit | e5afd0ab99847f3d3083d4522243f1c717c93ba0 (patch) | |
tree | b25893d2e8b37b9ff633a3871cd5a14d0f84c196 /synapse/handlers | |
parent | Update 15295.bugfix (diff) | |
download | synapse-e5afd0ab99847f3d3083d4522243f1c717c93ba0.tar.xz |
Make event objects unhashable
Generally speaking one should look up an event by its id. Otherwise we'll fall back to `object.__hash__` (the instance's address, under CPython) which is probably not what you want. Noticed in #15240.
Diffstat (limited to 'synapse/handlers')
0 files changed, 0 insertions, 0 deletions