Announce pgp key upload

merge-requests/30/head
Bob Mottram 2021-03-18 17:37:14 +00:00
parent dbb2c39632
commit 62908009e1
1 changed files with 6 additions and 2 deletions

View File

@ -995,14 +995,18 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
prevTimelineFirstId = '' prevTimelineFirstId = ''
while (1): while (1):
if not pgpKeyUpload: if not pgpKeyUpload:
sayStr = indent + 'Uploading PGP public key'
_sayCommand(sayStr, sayStr, screenreader,
systemLanguage, espeak)
pgpKey = \ pgpKey = \
pgpPublicKeyUpload(baseDir, session, pgpPublicKeyUpload(baseDir, session,
nickname, password, nickname, password,
domain, port, httpPrefix, domain, port, httpPrefix,
cachedWebfingers, personCache, cachedWebfingers, personCache,
debug, False) debug, False)
if pgpKey: sayStr = indent + 'PGP public key uploaded'
print('PGP public key uploaded') _sayCommand(sayStr, sayStr, screenreader,
systemLanguage, espeak)
pgpKeyUpload = True pgpKeyUpload = True
boxJson = c2sBoxJson(baseDir, session, boxJson = c2sBoxJson(baseDir, session,