Skip to content

Commit

Permalink
Distinguish things whenever stickying them (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
eritbh committed Nov 19, 2021
1 parent a194daa commit cbf21a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extension/data/modules/macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ function modmacros () {
approve = macro.approve,
ban = macro.ban,
mute = macro.mute,
distinguish = macro.distinguish === undefined ? true : macro.distinguish,
// Comments can only be stickied by being distinguished, so
// always distinguish if sticky is also set. If distinguish is
// not present, distinguish it to support legacy behavior.
distinguish = macro.sticky || macro.distinguish === undefined ? true : macro.distinguish,
// saved as lockthread for legacy reasons
lockitem = macro.lockthread,
lockreply = macro.lockreply,
Expand Down

0 comments on commit cbf21a3

Please sign in to comment.