mirror of https://gitlab.com/bashrc2/epicyon
Muting announces
parent
7491a75574
commit
237a0eac20
|
@ -1226,6 +1226,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
|
||||||
messageId = ''
|
messageId = ''
|
||||||
if postJsonObject.get('id'):
|
if postJsonObject.get('id'):
|
||||||
messageId = removeIdEnding(postJsonObject['id'])
|
messageId = removeIdEnding(postJsonObject['id'])
|
||||||
|
muteMessageId = messageId
|
||||||
|
|
||||||
_logPostTiming(enableTimingLog, postStartTime, '2')
|
_logPostTiming(enableTimingLog, postStartTime, '2')
|
||||||
|
|
||||||
|
@ -1365,6 +1366,8 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
|
||||||
recentPostsCache)
|
recentPostsCache)
|
||||||
return ''
|
return ''
|
||||||
postJsonObject = postJsonAnnounce
|
postJsonObject = postJsonAnnounce
|
||||||
|
if postJsonObject.get('id'):
|
||||||
|
muteMessageId = removeIdEnding(postJsonObject['id'])
|
||||||
|
|
||||||
# is the announced post in the html cache?
|
# is the announced post in the html cache?
|
||||||
postHtml = \
|
postHtml = \
|
||||||
|
@ -1552,7 +1555,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
|
||||||
muteStr = \
|
muteStr = \
|
||||||
_getMuteIconHtml(isMuted,
|
_getMuteIconHtml(isMuted,
|
||||||
postActor,
|
postActor,
|
||||||
messageId,
|
muteMessageId,
|
||||||
nickname, domainFull,
|
nickname, domainFull,
|
||||||
allowDeletion,
|
allowDeletion,
|
||||||
pageNumberParam,
|
pageNumberParam,
|
||||||
|
|
Loading…
Reference in New Issue