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
|
||||
}
|
||||
prevTimelineFirstId = ''
|
||||
desktopShown = False
|
||||
while (1):
|
||||
if not pgpKeyUpload:
|
||||
sayStr = indent + 'Uploading PGP public key'
|
||||
|
|
@ -1429,9 +1430,20 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
|||
pageNumber,
|
||||
newRepliesExist,
|
||||
newDMsExist)
|
||||
desktopShown = True
|
||||
prevTimelineFirstId = timelineFirstId
|
||||
else:
|
||||
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
|
||||
if noKeyPress:
|
||||
|
|
|
|||
Loading…
Reference in New Issue