Attempt to fix the bluesky profile link
authorMagnus Hagander <magnus@hagander.net>
Fri, 28 Feb 2025 15:59:55 +0000 (16:59 +0100)
committerMagnus Hagander <magnus@hagander.net>
Fri, 28 Feb 2025 16:00:42 +0000 (17:00 +0100)
This was clearly not quite completed whent he Bluesky support was added.

Reported by Andreas Scherbaum

postgresqleu/util/messaging/bluesky.py

index e722b691c5f7384444184a835a18af569a813c18..fb9fd1948ec2453f89f8fbbe2b8166eb24442b5c 100644 (file)
@@ -97,7 +97,7 @@ class Bluesky(object):
 
     @classmethod
     def get_link_from_identifier(self, value):
-        return value.lstrip('@')
+        return 'https://bsky.app/profile/{}'.format(value.lstrip('@'))
 
     def __init__(self, id, config):
         self.providerid = id