mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 14:34:47 -04:00
Remove unnecessary parentheses around tuples returned from methods (#10889)
This commit is contained in:
parent
26f2bfedbf
commit
aa2c027792
22 changed files with 33 additions and 32 deletions
|
@ -238,7 +238,7 @@ class ReceiptEventSource(EventSource[int, JsonDict]):
|
|||
if self.config.experimental.msc2285_enabled:
|
||||
events = ReceiptEventSource.filter_out_hidden(events, user.to_string())
|
||||
|
||||
return (events, to_key)
|
||||
return events, to_key
|
||||
|
||||
async def get_new_events_as(
|
||||
self, from_key: int, service: ApplicationService
|
||||
|
@ -270,7 +270,7 @@ class ReceiptEventSource(EventSource[int, JsonDict]):
|
|||
|
||||
events.append(event)
|
||||
|
||||
return (events, to_key)
|
||||
return events, to_key
|
||||
|
||||
def get_current_key(self, direction: str = "f") -> int:
|
||||
return self.store.get_max_receipt_stream_id()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue