diff --git a/content.py b/content.py
index e184df2aa..3ceccc8be 100644
--- a/content.py
+++ b/content.py
@@ -742,8 +742,8 @@ def post_tag_exists(tagType: str, tagName: str, tags: {}) -> bool:
return False
-def _add_mention(word_str: str, http_prefix: str, following: str,
- petnames: str, replace_mentions: {},
+def _add_mention(word_str: str, http_prefix: str, following: [],
+ petnames: [], replace_mentions: {},
recipients: [], tags: {}) -> bool:
"""Detects mentions and adds them to the replacements dict and
recipients list
@@ -771,8 +771,7 @@ def _add_mention(word_str: str, http_prefix: str, following: str,
'type': 'Mention'
}
replace_mentions[word_str] = \
- "@" + \
possible_nickname + ""
return True
@@ -798,9 +797,8 @@ def _add_mention(word_str: str, http_prefix: str, following: str,
'type': 'Mention'
}
replace_mentions[word_str] = \
- "@" + \
replace_nickname + ""
return True