From 4805470c2abc7f0141d5b6700debf4b4366733b7 Mon Sep 17 00:00:00 2001 From: bashrc Date: Sat, 4 Jul 2026 17:53:52 +0100 Subject: [PATCH] Show xmpp address after search --- src/webapp_profile.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/webapp_profile.py b/src/webapp_profile.py index bb71a98f6..8de5970ab 100644 --- a/src/webapp_profile.py +++ b/src/webapp_profile.py @@ -395,6 +395,7 @@ def html_profile_after_search(authorized: bool, lxmf_address: str = get_lxmf_address(profile_json) ricochet_address: str = get_ricochet_address(profile_json) briar_address: str = get_briar_address(profile_json) + xmpp_address: str = get_xmpp_address(profile_json) moved_to: str = '' if profile_json.get('movedTo') or profile_json.get('copiedTo'): @@ -539,6 +540,7 @@ def html_profile_after_search(authorized: bool, lxmf_address, ricochet_address, briar_address, + xmpp_address, repo_url, send_blocks_str, authorized, person_url, no_of_books, @@ -957,6 +959,7 @@ def _get_profile_header_after_search(base_dir: str, lxmf_address: str, ricochet_address: str, briar_address: str, + xmpp_address: str, repo_url: str, send_blocks_str: str, authorized: bool, @@ -1093,6 +1096,10 @@ def _get_profile_header_after_search(base_dir: str, blog_str = translate['Blog'] html_str += '

' + blog_str + ': ' + \ blog_url + '

\n' + if xmpp_address: + html_str += \ + '

' + translate['XMPP'] + ': ' + xmpp_address + '

\n' if lxmf_address: html_str += \ '

LXMF: ' + lxmf_address + '

\n'