diff options
Diffstat (limited to 'webmentions_ssg/views.py')
| -rw-r--r-- | webmentions_ssg/views.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/webmentions_ssg/views.py b/webmentions_ssg/views.py index bb1f38a..7a97480 100644 --- a/webmentions_ssg/views.py +++ b/webmentions_ssg/views.py @@ -170,7 +170,7 @@ def reverify_received_webmention(identifier: uuid.UUID) -> ResponseReturnValue: db.session.commit() - verify_webmention(identifier, send_notification=False) + verify_webmention(identifier) flash(f"Webmention {webmention.uuid} queued for reverification.", "success") @@ -327,7 +327,6 @@ def endpoint() -> ResponseReturnValue: ).scalar_one_or_none() should_verify = False - send_notification = False if webmention is None: identifier = uuid.uuid7() @@ -339,7 +338,6 @@ def endpoint() -> ResponseReturnValue: try: db.session.commit() should_verify = True - send_notification = True except sa_exc.IntegrityError: db.session.rollback() @@ -377,7 +375,7 @@ def endpoint() -> ResponseReturnValue: identifier = webmention.uuid if should_verify: - verify_webmention(identifier, send_notification=send_notification) + verify_webmention(identifier) status_url = url_for("root.status", identifier=str(identifier), _external=True) |
