diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2022-01-14 15:30:17 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2022-01-14 15:30:17 +0000 |
commit | d24ef5a4f4366c30f4aa7f798086780d23612526 (patch) | |
tree | 85d066dd13bbeeef23f565ad8f931a25f064719a /scripts/copyrighter-sql.pl | |
parent | Changelog (diff) | |
download | synapse-github/anoa/presence_events_as_set.tar.xz |
Use a set for _handle_typing and _handle_reciepts as well github/anoa/presence_events_as_set anoa/presence_events_as_set
This wasn't necessary, but mypy complained that 'events' could be both a List and a Set of JsonDict. So rather than define it with a Union type as such, I figured it'd be best to convert the other methods to use Set as well. We may even eliminate other duplicates in the process.
Diffstat (limited to 'scripts/copyrighter-sql.pl')
0 files changed, 0 insertions, 0 deletions