forked from rDrama/rDrama
1
0
Fork 0

dont convert username to lowercase for !YOU!

master
Aevann1 2022-11-26 22:11:07 +02:00
parent 39bb04bdb8
commit b93bf4daae
1 changed files with 2 additions and 2 deletions

View File

@ -351,7 +351,7 @@ class Submission(Base):
title = censor_slurs(title, v)
if v:
title = title.replace("!YOU!", v.username.lower())
title = title.replace("!YOU!", v.username)
return title
@ -365,7 +365,7 @@ class Submission(Base):
title = censor_slurs(title, v).replace('<img loading="lazy" data-bs-toggle="tooltip" alt=":marseytrain:" title=":marseytrain:" src="/e/marseytrain.webp">', ':marseytrain:')
if v:
title = title.replace("!YOU!", v.username.lower())
title = title.replace("!YOU!", v.username)
return title