[PATCH] add sashiko URLs

Mike Rapoport <[email protected]>
Newsgroups org.kernel.linux.tools
Message-ID <[email protected]>
sashiko is gaining traction and it's easy to add its URLs along with
lore ones.

Signed-off-by: Mike Rapoport <[email protected]>
---
 lorifier.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lorifier.py b/lorifier.py
index be7294b..96529bd 100755
--- a/lorifier.py
+++ b/lorifier.py
@@ -25,6 +25,7 @@ import sys
 from email.utils import mktime_tz, parsedate_tz, formatdate
 
 LORE_MASK = "https://lore.kernel.org/all/%s"
+SASHIKO_MASK = "https://sashiko.dev/#/message/%s"
 
 
 class muttemail:
@@ -65,7 +66,9 @@ class muttemail:
             return
 
         lore_url = LORE_MASK % str(message_id).strip("<>")
+        sashiko_url = SASHIKO_MASK % str(message_id).strip("<>")
         self.message.add_header("X-URI", lore_url)
+        self.message.add_header("X-URI", sashiko_url)
 
 
 if __name__ == "__main__":
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.