From 2a4ff1b598b8797516d88ec9fc2d01187484a535 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 24 Feb 2024 23:44:44 +0200 Subject: [PATCH] fix reddit offsite mentions --- files/helpers/offsite_mentions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/offsite_mentions.py b/files/helpers/offsite_mentions.py index 7fc2e5e59..db95d8f26 100644 --- a/files/helpers/offsite_mentions.py +++ b/files/helpers/offsite_mentions.py @@ -61,7 +61,7 @@ def reddit_mentions_task(): text += f'

{selftext}

' author_string = f"/u/{thing['author']}" - permalink = thing['permalink'] + permalink = 'https://old.reddit.com' + thing['permalink'] text = f'New site mention by {author_string}\n\n{permalink}\n\n{text}' created_utc = thing['created_utc'] if notify(text, created_utc) == 1: break