summaryrefslogtreecommitdiff
path: root/plugins/link.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/link.py')
-rw-r--r--plugins/link.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/link.py b/plugins/link.py
index 2c34232c..c8c75918 100644
--- a/plugins/link.py
+++ b/plugins/link.py
@@ -87,7 +87,7 @@ from poezio.xhtml import clean_text
from poezio import common
from poezio import tabs
-url_pattern = re.compile(r'\b(http[s]?://(?:\S+))\b', re.I|re.U)
+url_pattern = re.compile(r'\b(?:http[s]?://(?:\S+))|(?:magnet:\?(?:\S+))\b', re.I|re.U)
app_mapping = {
'Linux': 'xdg-open',
'Darwin': 'open',