mirror of https://gitlab.com/bashrc2/epicyon
Check for reply failure
parent
8d94684d8b
commit
398ded4b9e
|
@ -184,16 +184,18 @@ def _replyToPost(session, postId: str,
|
|||
isArticle = False
|
||||
subject = None
|
||||
commentsEnabled = True
|
||||
sendPostViaServer(__version__,
|
||||
baseDir, session, nickname, password,
|
||||
domain, port,
|
||||
toNickname, toDomain, toPort, ccUrl,
|
||||
httpPrefix, replyMessage, followersOnly,
|
||||
commentsEnabled, attach, mediaType,
|
||||
attachedImageDescription,
|
||||
cachedWebfingers, personCache, isArticle,
|
||||
debug, postId, postId, subject)
|
||||
sayStr = 'Reply sent'
|
||||
if sendPostViaServer(__version__,
|
||||
baseDir, session, nickname, password,
|
||||
domain, port,
|
||||
toNickname, toDomain, toPort, ccUrl,
|
||||
httpPrefix, replyMessage, followersOnly,
|
||||
commentsEnabled, attach, mediaType,
|
||||
attachedImageDescription,
|
||||
cachedWebfingers, personCache, isArticle,
|
||||
debug, postId, postId, subject) == 0:
|
||||
sayStr = 'Reply sent'
|
||||
else:
|
||||
sayStr = 'Reply failed'
|
||||
_sayCommand(sayStr, screenreader, systemLanguage, espeak)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue