mirror of https://gitlab.com/bashrc2/epicyon
Comments
parent
9d2628d013
commit
70cb0f6299
|
@ -1970,9 +1970,9 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
if not content_str:
|
if not content_str:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
# does an emoji indicate no boost preference?
|
|
||||||
# if so then don't show the repeat/announce icon
|
|
||||||
if content_str:
|
if content_str:
|
||||||
|
# does an emoji indicate a no boost preference?
|
||||||
|
# if so then don't show the repeat/announce icon
|
||||||
if ':boost_no:' in content_str or \
|
if ':boost_no:' in content_str or \
|
||||||
':noboost:' in content_str or \
|
':noboost:' in content_str or \
|
||||||
':noboosts:' in content_str or \
|
':noboosts:' in content_str or \
|
||||||
|
@ -1980,6 +1980,8 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
':no_boosts:' in content_str or \
|
':no_boosts:' in content_str or \
|
||||||
':boosts_no:' in content_str:
|
':boosts_no:' in content_str:
|
||||||
announce_str = ''
|
announce_str = ''
|
||||||
|
# does an emoji indicate a no replies preference?
|
||||||
|
# if so then don't show the reply icon
|
||||||
if ':reply_no:' in content_str or \
|
if ':reply_no:' in content_str or \
|
||||||
':noreply:' in content_str or \
|
':noreply:' in content_str or \
|
||||||
':noreplies:' in content_str or \
|
':noreplies:' in content_str or \
|
||||||
|
|
Loading…
Reference in New Issue