Build link to Bluesky profile on parsing since data not there

Fixes #98
This commit is contained in:
Hank Grabowski 2024-06-24 20:58:15 -04:00
parent 8b8451fbc8
commit f6402c5422
2 changed files with 9 additions and 3 deletions

View file

@ -7,12 +7,14 @@
* Fixes Unlisted posts are showing as and sharing as
private ([Issue #78](https://gitlab.com/mysocialportal/relatica/-/issues/78))
* Fixes trailing CW type ([Issue #90](https://gitlab.com/mysocialportal/relatica/-/issues/90))
* Fix Threads open in browser
* Fix Threads open status in browser
errors ([Issue #87](https://gitlab.com/mysocialportal/relatica/-/issues/87))
* Fix Bluesky open in browser
* Fix Bluesky open status in browser
errors ([Issue #79](https://gitlab.com/mysocialportal/relatica/-/issues/79))
*Fix Threads profiles don't open in browser
* Fix Threads profiles don't open in browser
properly ([Issue #89](https://gitlab.com/mysocialportal/relatica/-/issues/89))
* Fix Bluesky profiles don't open in browser
properly ([Issue #98](https://gitlab.com/mysocialportal/relatica/-/issues/98))
* New Features
* Shows the network of the post/comment ([Feature #82](https://gitlab.com/mysocialportal/relatica/-/issues/82))

View file

@ -35,6 +35,10 @@ extension ConnectionMastodonExtensions on Connection {
}
}
if (profileUrl.scheme == 'did') {
profileUrl = Uri.parse('https://bsky.app/profile/$handleFromJson');
}
return Connection(
name: name,
id: id,