dont convert username to lowercase for !YOU!

pull/24/head
Aevann1 2022-11-26 22:11:07 +02:00 committed by geese_suck
parent f59d3e6b12
commit fdff6eac0a
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
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