+196
-116
bluesky.py
+196
-116
bluesky.py
······-assert reply_data, "reply_data requested, but doesn't exist in db (should've been skipped bt firehose)"-reply_mappings = [json.loads(data[0]) for data in database.find_mappings(self.db, reply_data['id'], SERVICE, login.did)]-reply_record = models.AppBskyFeedPost.CreateRecordResponse(uri=str(reply_mappings[-1]['uri']), cid=str(reply_mappings[-1]['cid']))-root_record = models.AppBskyFeedPost.CreateRecordResponse(uri=str(reply_mappings[0]['uri']), cid=str(reply_mappings[0]['cid']))-root_mappings = [json.loads(data[0]) for data in database.find_mappings(self.db, reply_data['root_id'], SERVICE, login.did)]-root_record = models.AppBskyFeedPost.CreateRecordResponse(uri=str(root_mappings[0]['uri']), cid=str(root_mappings[0]['cid']))···labels = models.ComAtprotoLabelDefs.SelfLabels(values=[models.ComAtprotoLabelDefs.SelfLabel(val=label) for label in unique_labels])······-LOGGER.error("Skipping post_id '%s', failed to download attachment! File too large?", post.get_id())-LOGGER.info("Skipping post_id '%s'. Attachment type mismatch. got: '%s' expected: 'image'", post.get_id(), attachment.get_type())LOGGER.error("Skipping post_id '%s', failed to download attachment! File too large?", post.get_id())
···+assert reply_data, "reply_data requested, but doesn't exist in db (should've been skipped bt firehose)"+reply_mappings = [json.loads(data[0]) for data in database.find_mappings(self.db, reply_data['id'], SERVICE, login.did)]+reply_record = models.AppBskyFeedPost.CreateRecordResponse(uri=str(reply_mappings[-1]['uri']), cid=str(reply_mappings[-1]['cid']))+root_record = models.AppBskyFeedPost.CreateRecordResponse(uri=str(reply_mappings[0]['uri']), cid=str(reply_mappings[0]['cid']))+root_mappings = [json.loads(data[0]) for data in database.find_mappings(self.db, reply_data['root_id'], SERVICE, login.did)]+root_record = models.AppBskyFeedPost.CreateRecordResponse(uri=str(root_mappings[0]['uri']), cid=str(root_mappings[0]['cid']))······labels = models.ComAtprotoLabelDefs.SelfLabels(values=[models.ComAtprotoLabelDefs.SelfLabel(val=label) for label in unique_labels])···+LOGGER.error("Skipping post_id '%s', failed to download attachment! File too large?", post.get_id())+LOGGER.error("Skipping post_id '%s', failed to download attachment! File too large?", post.get_id())···LOGGER.error("Skipping post_id '%s', failed to download attachment! File too large?", post.get_id())
+1
cross.py
+1
cross.py
+1
-1
mastodon.py
+1
-1
mastodon.py
+17
media_util.py
+17
media_util.py
···