mirror of https://gitlab.com/bashrc2/epicyon
Show replying link
parent
117ed081f3
commit
99bfa49773
|
@ -435,7 +435,10 @@ def _readLocalBoxPost(session, nickname: str, domain: str,
|
|||
return {}
|
||||
gender = 'They/Them'
|
||||
|
||||
sayStr = 'Reading ' + boxName + ' post ' + str(index) + \
|
||||
boxNameStr = boxName
|
||||
if boxName.startswith('tl'):
|
||||
boxNameStr = boxName[2:]
|
||||
sayStr = 'Reading ' + boxNameStr + ' post ' + str(index) + \
|
||||
' from page ' + str(pageNumber) + '.'
|
||||
sayStr2 = sayStr.replace(' dm ', ' DM ')
|
||||
_sayCommand(sayStr, sayStr2, screenreader, systemLanguage, espeak)
|
||||
|
@ -503,6 +506,9 @@ def _readLocalBoxPost(session, nickname: str, domain: str,
|
|||
systemLanguage, espeak,
|
||||
nameStr, gender)
|
||||
|
||||
if postJsonObject['object'].get('inReplyTo'):
|
||||
print('Replying to ' + postJsonObject['object']['inReplyTo'] + '\n')
|
||||
|
||||
if screenreader:
|
||||
time.sleep(2)
|
||||
|
||||
|
@ -581,7 +587,7 @@ def _desktopShowBox(boxName: str, boxJson: {},
|
|||
_desktopShowBanner()
|
||||
|
||||
notificationIcons = ''
|
||||
if boxName.startswith('tl'):
|
||||
if boxName.startswith('tl'):
|
||||
boxNameStr = boxName[2:]
|
||||
else:
|
||||
boxNameStr = boxName
|
||||
|
|
Loading…
Reference in New Issue