Aevann 2024-04-16 20:54:17 +02:00
parent 37145b0216
commit c610fd0f8c
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, obj=None, followers_ping=Tr
coin_receivers = set()
for i in group_mention_regex.finditer(text):
if oldtext and re.search(f'(?<![:/\w])!{i.group(1)}($|\s)', oldtext):
if oldtext and re.search(f'(?<![:/\w])!{i.group(1)}($|[^\w-])', oldtext):
continue
if re.search(f'^>.*?(?<![:/\w])!{i.group(1)}', text):