From 92a00c545f8024b8ba93da34a229fd4ff2ea82c5 Mon Sep 17 00:00:00 2001 From: bashrc Date: Sat, 4 Jul 2026 17:48:36 +0100 Subject: [PATCH] Show briar address after search --- src/webapp_profile.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/webapp_profile.py b/src/webapp_profile.py index 444245cb5..bb71a98f6 100644 --- a/src/webapp_profile.py +++ b/src/webapp_profile.py @@ -394,6 +394,7 @@ def html_profile_after_search(authorized: bool, blog_url: str = get_blog_address(profile_json) lxmf_address: str = get_lxmf_address(profile_json) ricochet_address: str = get_ricochet_address(profile_json) + briar_address: str = get_briar_address(profile_json) moved_to: str = '' if profile_json.get('movedTo') or profile_json.get('copiedTo'): @@ -537,6 +538,7 @@ def html_profile_after_search(authorized: bool, website_url, blog_url, lxmf_address, ricochet_address, + briar_address, repo_url, send_blocks_str, authorized, person_url, no_of_books, @@ -954,6 +956,7 @@ def _get_profile_header_after_search(base_dir: str, blog_url: str, lxmf_address: str, ricochet_address: str, + briar_address: str, repo_url: str, send_blocks_str: str, authorized: bool, @@ -1100,6 +1103,13 @@ def _get_profile_header_after_search(base_dir: str, else: html_str += \ '

ricochet: ' + ricochet_address + '

\n' + if briar_address: + if briar_address.startswith('briar://'): + html_str += \ + '

' + briar_address + '

\n' + else: + html_str += \ + '

briar://' + briar_address + '

\n' if youtube: html_str += '

YouTube: ' + \ youtube + '

\n'