Remove \n from initial form for replies

This commit is contained in:
Jason McBrayer 2018-11-12 17:55:25 -05:00
parent ffe50791d1
commit 03478ef33f
1 changed files with 0 additions and 2 deletions

View File

@ -563,8 +563,6 @@ def reply(request, id):
initial_text = ""
for mention in [x for x in toot.mentions if x.acct != request.session['user'].acct]:
initial_text +=('@' + mention.acct + " ")
if initial_text != "":
initial_text += "\n"
form = PostForm({'status': initial_text,
'visibility': toot.visibility,
'spoiler_text': toot.spoiler_text})