mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
bugfix
This commit is contained in:
parent
f777f97006
commit
758d8e79c0
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ def join_then_add(actor):
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
flash('You joined ' + community.title)
|
flash('You joined ' + community.title)
|
||||||
if not community.user_is_banned(current_user):
|
if not community.user_is_banned(current_user):
|
||||||
return redirect(url_for('community.add_post', actor=community.link()))
|
return redirect(url_for('community.add_discussion_post', actor=community.link()))
|
||||||
else:
|
else:
|
||||||
abort(401)
|
abort(401)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue