mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main
commit
a276d4a8a1
|
|
@ -1360,6 +1360,7 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
"repliesNotifyChanged": False
|
"repliesNotifyChanged": False
|
||||||
}
|
}
|
||||||
prevTimelineFirstId = ''
|
prevTimelineFirstId = ''
|
||||||
|
desktopShown = False
|
||||||
while (1):
|
while (1):
|
||||||
if not pgpKeyUpload:
|
if not pgpKeyUpload:
|
||||||
sayStr = indent + 'Uploading PGP public key'
|
sayStr = indent + 'Uploading PGP public key'
|
||||||
|
|
@ -1429,9 +1430,20 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
pageNumber,
|
pageNumber,
|
||||||
newRepliesExist,
|
newRepliesExist,
|
||||||
newDMsExist)
|
newDMsExist)
|
||||||
|
desktopShown = True
|
||||||
prevTimelineFirstId = timelineFirstId
|
prevTimelineFirstId = timelineFirstId
|
||||||
else:
|
else:
|
||||||
session = createSession(proxyType)
|
session = createSession(proxyType)
|
||||||
|
if not desktopShown:
|
||||||
|
if not session:
|
||||||
|
print('No session\n')
|
||||||
|
|
||||||
|
_desktopClearScreen()
|
||||||
|
_desktopShowBanner()
|
||||||
|
print('No posts\n')
|
||||||
|
if proxyType == 'tor':
|
||||||
|
print('You may need to run the desktop client ' + \
|
||||||
|
'with the --http option')
|
||||||
|
|
||||||
# wait for a while, or until a key is pressed
|
# wait for a while, or until a key is pressed
|
||||||
if noKeyPress:
|
if noKeyPress:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue