summaryrefslogtreecommitdiffstats
path: root/activities/models
diff options
context:
space:
mode:
Diffstat (limited to 'activities/models')
-rw-r--r--activities/models/hashtag.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/activities/models/hashtag.py b/activities/models/hashtag.py
index 9cfb21d..b7f0832 100644
--- a/activities/models/hashtag.py
+++ b/activities/models/hashtag.py
@@ -176,7 +176,7 @@ class Hashtag(StatorModel):
leading '#'.
"""
hashtag_hits = cls.hashtag_regex.findall(strip_html(content))
- hashtags = sorted({tag[1].lower() for tag in hashtag_hits})
+ hashtags = sorted({tag.lower() for tag in hashtag_hits})
return list(hashtags)
@classmethod