aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--piem-elfeed.el2
-rw-r--r--piem-eww.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/piem-elfeed.el b/piem-elfeed.el
index 24b3108..add7547 100644
--- a/piem-elfeed.el
+++ b/piem-elfeed.el
@@ -45,7 +45,7 @@
(inbox-url (piem-inbox-get :url inbox))
(link (elfeed-entry-link elfeed-show-entry)))
(and (string-match (piem-message-link-re inbox-url) link)
- (match-string 1 link))))
+ (url-unhex-string (match-string 1 url)))))
;;;###autoload
(define-minor-mode piem-elfeed-mode
diff --git a/piem-eww.el b/piem-eww.el
index 9fd34ac..849a3b5 100644
--- a/piem-eww.el
+++ b/piem-eww.el
@@ -44,7 +44,7 @@
(inbox-url (piem-inbox-get :url inbox))
(url (plist-get eww-data :url)))
(and (string-match (piem-message-link-re inbox-url) url)
- (match-string 1 url))))
+ (url-unhex-string (match-string 1 url)))))
;;;###autoload
(define-minor-mode piem-eww-mode