mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -08:00
minor debug #2
This commit is contained in:
parent
850e159a58
commit
b52b825575
1 changed files with 1 additions and 1 deletions
|
@ -810,7 +810,7 @@ def user_email_notifs_unsubscribe(user_id, token):
|
|||
@bp.route('/u/<actor>/mastodon_redirect', methods=['GET', 'POST'])
|
||||
def mastodon_redirect(actor):
|
||||
actor = actor.strip()
|
||||
user = User.query.filter_by(user_name=actor, deleted=False).first()
|
||||
user = User.query.filter_by(user_name=actor, deleted=False, ap_id=None).first()
|
||||
if user and user.is_local():
|
||||
form = FollowOnMastodonForm()
|
||||
if form.validate_on_submit():
|
||||
|
|
Loading…
Add table
Reference in a new issue