Check for reply failure

main
Bob Mottram 2021-03-10 19:31:33 +00:00
parent 8d94684d8b
commit 398ded4b9e
1 changed files with 12 additions and 10 deletions

View File

@ -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)