Aevann 2024-02-01 19:50:20 +02:00
parent 2fbb2ee083
commit 497d437870
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,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 i.group(1) in oldtext:
if oldtext and re.search(f'(?<![:/\w])!{i.group(1)}($|\s)', oldtext):
continue
if i.group(1) == 'focusgroup' and not v.admin_level: