From 60539478969ee951eed5771786267d8c87396741 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 9 Nov 2022 12:16:18 +0000 Subject: [PATCH] Verification of website and blog --- daemon.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/daemon.py b/daemon.py index d3a8286bb..b0c8a0b30 100644 --- a/daemon.py +++ b/daemon.py @@ -6310,14 +6310,14 @@ class PubServer(BaseHTTPRequestHandler): if fields['blogAddress'] != current_blog_address: set_blog_address(actor_json, fields['blogAddress']) - site_is_verified(curr_session, - self.server.base_dir, - self.server.http_prefix, - nickname, domain, - fields['blogAddress'], - True, - self.server.debug) actor_changed = True + site_is_verified(curr_session, + self.server.base_dir, + self.server.http_prefix, + nickname, domain, + fields['blogAddress'], + True, + self.server.debug) else: if current_blog_address: set_blog_address(actor_json, '') @@ -6487,14 +6487,14 @@ class PubServer(BaseHTTPRequestHandler): set_website(actor_json, fields['websiteUrl'], self.server.translate) - site_is_verified(curr_session, - self.server.base_dir, - self.server.http_prefix, - nickname, domain, - fields['websiteUrl'], - True, - self.server.debug) actor_changed = True + site_is_verified(curr_session, + self.server.base_dir, + self.server.http_prefix, + nickname, domain, + fields['websiteUrl'], + True, + self.server.debug) else: if current_website: set_website(actor_json, '', self.server.translate)