summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2022-01-14 15:30:17 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2022-01-14 15:30:17 +0000
commitd24ef5a4f4366c30f4aa7f798086780d23612526 (patch)
tree85d066dd13bbeeef23f565ad8f931a25f064719a /tests
parentChangelog (diff)
downloadsynapse-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 'tests')
0 files changed, 0 insertions, 0 deletions