bdsmail address
This commit is contained in:
parent
7f23b21f5d
commit
32ff0f683c
|
@ -860,18 +860,20 @@ function show_your_email_address {
|
|||
onionemailstr=
|
||||
if [[ "$HOSTNAME" != *'.onion' && "$onion_domain" ]]; then
|
||||
onionemailstr="\\n\\nOnion Email: ${USER}@${onion_domain}"
|
||||
dialog_height=$((dialog_height+2))
|
||||
dialog_height=$((dialog_height+3))
|
||||
fi
|
||||
msgstrbase=$"\\nYou can press SHIFT and then drag the mouse and right click to copy.\\n\\nEmail Address: ${MY_EMAIL_ADDRESS}${onionemailstr}\\n\\nKey ID: ${GPG_ID}\\n\\nFingerprint: ${GPG_FINGERPRINT}\\n\\nCreated: ${GPG_DATE}"
|
||||
bdsmail_address=
|
||||
bdsmailstr=
|
||||
if [ ! -f ~/.mutt/bdsmail ]; then
|
||||
bdsmail_address="\\n\\nI2P Address: "$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
|
||||
dialog_height=$((dialog_height+2))
|
||||
bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
|
||||
bdsmailstr="\\n\\nI2P Address: ${bdsmail_address}"
|
||||
dialog_height=$((dialog_height+3))
|
||||
fi
|
||||
|
||||
dialog --title $"Show your Email Address" \
|
||||
--backtitle $"Freedombone User Control Panel" \
|
||||
--msgbox "$msgstrbase${bdsmail_address}" $dialog_height 100
|
||||
--msgbox "${msgstrbase}${bdsmailstr}" $dialog_height 100
|
||||
|
||||
clear
|
||||
qr_code_shown=
|
||||
|
|
Loading…
Reference in New Issue