aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-08-15Silence: abort silence if there's already a scheduled taskGravatar MarkKoz-1/+1
Overwrites can be edited during a silence, which can result in the overwrites check failing. Checking the scheduler too ensures that a duplicate silence won't be scheduled.
2020-08-15Silence: revoke permissions to add reactionsGravatar MarkKoz-11/+27
No longer assume default values for the overwrites which are modified. Save and restore previous values `add_reactions` and `send_messages` via redis. When unsilencing, check if a channel is silenced via the redis cache rather than the channel's current overwrites to ensure the task is cancelled even if overwrites were manually edited.
2020-08-13Fix typo on the traceback tagGravatar AtieP-1/+1
See issue #1101