Skip to content

Commit 36a380a

Browse files
committed
Merge branch 'rei/t2_msc4306_conflict' into rei/t2_pushrules
2 parents 1fa1f9b + fc05b0b commit 36a380a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/replication/tcp/streams/_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ class ThreadSubscriptionsStreamRow:
739739
NAME = "thread_subscriptions"
740740
ROW_TYPE = ThreadSubscriptionsStreamRow
741741

742-
def __init__(self, hs: Any):
742+
def __init__(self, hs: "HomeServer"):
743743
self.store = hs.get_datastores().main
744744
super().__init__(
745745
hs.get_instance_name(),
@@ -751,7 +751,7 @@ async def _update_function(
751751
self, instance_name: str, from_token: int, to_token: int, limit: int
752752
) -> StreamUpdateResult:
753753
updates = await self.store.get_updated_thread_subscriptions(
754-
from_token, to_token, limit
754+
from_id=from_token, to_id=to_token, limit=limit
755755
)
756756
rows = [
757757
(

0 commit comments

Comments
 (0)