master
Bob Mottram 2019-08-19 11:48:59 +01:00
parent 2923e74db1
commit 9f06738447
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ def addMention(wordStr: str,httpPrefix: str,following: str,replaceMentions: {},r
if len(wordStr)<2: if len(wordStr)<2:
return False return False
possibleHandle=wordStr[1:] possibleHandle=wordStr[1:]
print('Possible mention: '+possibleHandle)
# @nick # @nick
if '@' not in possibleHandle: if '@' not in possibleHandle:
# fall back to a best effort match against the following list # fall back to a best effort match against the following list