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
|
isArticle = False
|
||||||
subject = None
|
subject = None
|
||||||
commentsEnabled = True
|
commentsEnabled = True
|
||||||
sendPostViaServer(__version__,
|
if sendPostViaServer(__version__,
|
||||||
baseDir, session, nickname, password,
|
baseDir, session, nickname, password,
|
||||||
domain, port,
|
domain, port,
|
||||||
toNickname, toDomain, toPort, ccUrl,
|
toNickname, toDomain, toPort, ccUrl,
|
||||||
httpPrefix, replyMessage, followersOnly,
|
httpPrefix, replyMessage, followersOnly,
|
||||||
commentsEnabled, attach, mediaType,
|
commentsEnabled, attach, mediaType,
|
||||||
attachedImageDescription,
|
attachedImageDescription,
|
||||||
cachedWebfingers, personCache, isArticle,
|
cachedWebfingers, personCache, isArticle,
|
||||||
debug, postId, postId, subject)
|
debug, postId, postId, subject) == 0:
|
||||||
sayStr = 'Reply sent'
|
sayStr = 'Reply sent'
|
||||||
|
else:
|
||||||
|
sayStr = 'Reply failed'
|
||||||
_sayCommand(sayStr, screenreader, systemLanguage, espeak)
|
_sayCommand(sayStr, screenreader, systemLanguage, espeak)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue