This commit is contained in:
rimu 2024-04-09 19:55:31 +12:00
parent f777f97006
commit 758d8e79c0

View file

@ -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)