fix prev commit

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-21 19:22:18 +02:00
parent 663904fb3d
commit fbbd6f9be8
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ def sanitize(sanitized, edit=False, limit_pings=0, showmore=True):
v = getattr(g, 'v', None)
names = set(m.group(2) for m in mention_regex.finditer(sanitized))
if len(names) > 100 and not v.admin_level: abort(406)
if limit_pings and len(names) > limit_pings and not v.admin_level: abort(406)
users_list = get_users(names, graceful=True)
users_dict = {}
for u in users_list: