Skip to content

Commit

Permalink
atproto_firehose: noop: standardize delete log message
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Jan 19, 2025
1 parent 48c4f8a commit e76d3ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions atproto_firehose.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""ATProto firehose client. Enqueues receive tasks for events for bridged users."""
"""ATProto firehose client. Enqueues receive tasks for events for bridged users.
https://atproto.com/specs/event-stream
https://atproto.com/specs/sync#firehose
"""
from collections import namedtuple
from datetime import datetime, timedelta
from io import BytesIO
Expand Down Expand Up @@ -220,7 +224,7 @@ def subscribe():
continue

if op.repo in atproto_dids and op.action == 'delete':
logger.debug(f'Got delete from our ATProto user: {op}')
logger.debug(f'Got delete {op.repo} {op.path}')
# TODO: also detect deletes of records that *reference* our bridged
# users, eg a delete of a follow or like or repost of them.
# not easy because we need to getRecord the record to check
Expand Down

0 comments on commit e76d3ee

Please sign in to comment.