summaryrefslogtreecommitdiffstats
path: root/activities/models/post.py
diff options
context:
space:
mode:
authorAndrew Godwin2022-12-11 11:22:06 -0700
committerAndrew Godwin2022-12-12 11:56:49 -0700
commitfc8a21fc5c6809ea115092eeec57e09e984cdd76 (patch)
tree9ca40c9d9b192040875b9442c965e855df3bd052 /activities/models/post.py
parent3e062aed360ca54c26733b175d00d0d4671f3591 (diff)
downloadtakahe-fc8a21fc5c6809ea115092eeec57e09e984cdd76.tar.gz
takahe-fc8a21fc5c6809ea115092eeec57e09e984cdd76.tar.bz2
takahe-fc8a21fc5c6809ea115092eeec57e09e984cdd76.zip
More API read coverage
Diffstat (limited to 'activities/models/post.py')
-rw-r--r--activities/models/post.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/activities/models/post.py b/activities/models/post.py
index 1e372c2..16e798c 100644
--- a/activities/models/post.py
+++ b/activities/models/post.py
@@ -262,7 +262,7 @@ class Post(StatorModel):
r"(^|[^\w\d\-_])@([\w\d\-_]+(?:@[\w\d\-_]+\.[\w\d\-_\.]+)?)"
)
- def linkify_mentions(self, content, local=False):
+ def linkify_mentions(self, content: str, local: bool = False) -> str:
"""
Links mentions _in the context of the post_ - as in, using the mentions
property as the only source (as we might be doing this without other