Skip to content

Commit 579977a

Browse files
authored
Add support for the repository sync message in the subscribe repos firehose (#556)
1 parent ba9295a commit 579977a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/atproto_firehose/firehose.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
'#info': models.ComAtprotoSyncSubscribeRepos.Info,
2424
'#identity': models.ComAtprotoSyncSubscribeRepos.Identity, # DEPRECATED
2525
'#account': models.ComAtprotoSyncSubscribeRepos.Account,
26+
'#sync': models.ComAtprotoSyncSubscribeRepos.Sync,
2627
}
2728
_SUBSCRIBE_LABELS_MESSAGE_TYPE_TO_MODEL = {
2829
'#labels': models.ComAtprotoLabelSubscribeLabels.Labels,
@@ -37,6 +38,8 @@
3738
models.ComAtprotoSyncSubscribeRepos.Tombstone,
3839
models.ComAtprotoSyncSubscribeRepos.Info,
3940
models.ComAtprotoSyncSubscribeRepos.Identity,
41+
models.ComAtprotoSyncSubscribeRepos.Account,
42+
models.ComAtprotoSyncSubscribeRepos.Sync,
4043
]
4144
#: Subscribe Labels Message
4245
SubscribeLabelsMessage = t.Union[

0 commit comments

Comments
 (0)