Revert "Muting announces"

This reverts commit 237a0eac20.
merge-requests/30/head
Bob Mottram 2021-09-27 15:11:25 +01:00
parent 237a0eac20
commit 4189bdff0b
1 changed files with 1 additions and 4 deletions

View File

@ -1226,7 +1226,6 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
messageId = ''
if postJsonObject.get('id'):
messageId = removeIdEnding(postJsonObject['id'])
muteMessageId = messageId
_logPostTiming(enableTimingLog, postStartTime, '2')
@ -1366,8 +1365,6 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
recentPostsCache)
return ''
postJsonObject = postJsonAnnounce
if postJsonObject.get('id'):
muteMessageId = removeIdEnding(postJsonObject['id'])
# is the announced post in the html cache?
postHtml = \
@ -1555,7 +1552,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
muteStr = \
_getMuteIconHtml(isMuted,
postActor,
muteMessageId,
messageId,
nickname, domainFull,
allowDeletion,
pageNumberParam,