Too many briars

merge-requests/8/head
Bob Mottram 2020-12-24 17:11:18 +00:00
parent 42023ade49
commit 3c26bc6dac
2 changed files with 16 additions and 5 deletions

View File

@ -143,8 +143,14 @@ def htmlPersonOptions(defaultTimeline: str,
optionsStr += \
'<p class="imText">Tox: ' + removeHtml(toxAddress) + '</p>\n'
if briarAddress:
if briarAddress.startswith('briar://'):
optionsStr += \
'<p class="imText">Briar: ' + removeHtml(briarAddress) + '</p>\n'
'<p class="imText">' + \
removeHtml(briarAddress) + '</p>\n'
else:
optionsStr += \
'<p class="imText">briar://' + \
removeHtml(briarAddress) + '</p>\n'
if jamiAddress:
optionsStr += \
'<p class="imText">Jami: ' + removeHtml(jamiAddress) + '</p>\n'

View File

@ -477,8 +477,13 @@ def htmlProfile(rssIconAtTop: bool,
'<p>Tox: <label class="toxaddr">' + \
toxAddress + '</label></p>\n'
if briarAddress:
if briarAddress.startswith('briar://'):
donateSection += \
'<p>Briar: <label class="toxaddr">' + \
'<p><label class="toxaddr">' + \
briarAddress + '</label></p>\n'
else:
donateSection += \
'<p>briar://<label class="toxaddr">' + \
briarAddress + '</label></p>\n'
if jamiAddress:
donateSection += \