social media crossposting tool. 3rd time's the charm
mastodon misskey crossposting bluesky

fix: get_post_url for bluesky should use self.id

zenfyr.dev e1a96b0d 31a048ee

verified
Changed files
+1 -3
bluesky
+1 -3
bluesky/common.py
···
return "text/plain"
def get_post_url(self) -> str | None:
-
at_uri: str = self.post['$xpost.uri'][len("at://"):]
-
-
parts = at_uri.split("/")
did, _, post_id = parts
return f"https://bsky.app/profile/{did}/post/{post_id}"
···
return "text/plain"
def get_post_url(self) -> str | None:
+
parts = str(self.id[len("at://"):]).split("/")
did, _, post_id = parts
return f"https://bsky.app/profile/{did}/post/{post_id}"