mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2025-02-16 23:53:47 -05:00
Small fix in full toot view
This commit is contained in:
parent
090fb1ec4d
commit
6cf660bda1
@ -377,6 +377,7 @@ def settings(request):
|
||||
@never_cache
|
||||
@br_login_required
|
||||
def toot(request, mention=None):
|
||||
account, mastodon = get_usercontext(request)
|
||||
if request.method == 'GET':
|
||||
if mention:
|
||||
if not mention.startswith('@'):
|
||||
@ -392,8 +393,6 @@ def toot(request, mention=None):
|
||||
elif request.method == 'POST':
|
||||
form = PostForm(request.POST, request.FILES)
|
||||
if form.is_valid():
|
||||
account, mastodon = get_usercontext(request)
|
||||
|
||||
# create media objects
|
||||
media_objects = []
|
||||
for index in range(1,5):
|
||||
|
Loading…
x
Reference in New Issue
Block a user