diff --git a/randomwallpaper@iflow.space/sourceAdapter.js b/randomwallpaper@iflow.space/sourceAdapter.js index 8c6de28..138326f 100644 --- a/randomwallpaper@iflow.space/sourceAdapter.js +++ b/randomwallpaper@iflow.space/sourceAdapter.js @@ -395,7 +395,8 @@ var RedditAdapter = new Lang.Class({ if (callback) { let historyEntry = new HistoryModule.HistoryEntry(null, 'reddit', imageDownloadUrl); - historyEntry.source.sourceUrl = 'https://www.reddit.com/' + submission.permalink; + historyEntry.source.sourceUrl = 'https://www.reddit.com/' + submission.subreddit_name_prefixed; + historyEntry.source.imageLinkUrl = 'https://www.reddit.com/' + submission.permalink; callback(historyEntry); } } catch (e) {