|
@@ -865,7 +865,7 @@ function show_your_email_address {
|
865
|
865
|
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}"
|
866
|
866
|
bdsmail_address=
|
867
|
867
|
bdsmailstr=
|
868
|
|
- if [ ! -f ~/.mutt/bdsmail ]; then
|
|
868
|
+ if [ -f ~/.mutt/bdsmail ]; then
|
869
|
869
|
bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
|
870
|
870
|
bdsmailstr="\\n\\nI2P Address: ${bdsmail_address}"
|
871
|
871
|
dialog_height=$((dialog_height+3))
|
|
@@ -885,7 +885,7 @@ function show_your_email_address {
|
885
|
885
|
echo ''
|
886
|
886
|
qr_code_shown=1
|
887
|
887
|
fi
|
888
|
|
- if [ -f ~/.mutt/bdsmail ]; then
|
|
888
|
+ if [ "${bdsmail_address}" ]; then
|
889
|
889
|
echo ''
|
890
|
890
|
echo $'Your bdsmail address:'
|
891
|
891
|
echo ''
|