diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-21 01:56:39 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:44:01 -0500 |
commit | 227d8957f58307d667fe3a5a2e5330bce911babd (patch) | |
tree | e8151c2838cee5962609cd7dbb6106885fad1f4d /app | |
parent | 2d33ad80c05203e69f42a26814aeb745bf48d064 (diff) |
[Feature] Add additional aliases for (un)hiding
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/command_tag/commands/status_tools.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/lib/command_tag/commands/status_tools.rb b/app/lib/command_tag/commands/status_tools.rb index d3b4cd005..1691fcf53 100644 --- a/app/lib/command_tag/commands/status_tools.rb +++ b/app/lib/command_tag/commands/status_tools.rb @@ -37,6 +37,11 @@ module CommandTag::Commands::StatusTools alias handle_mute_roar_once_at_end handle_mute_once_at_end alias handle_mute_toot_once_at_end handle_mute_once_at_end alias handle_mute_parent_once_at_end handle_mute_once_at_end + alias handle_hide_once_at_end handle_mute_once_at_end + alias handle_hide_post_once_at_end handle_mute_once_at_end + alias handle_hide_roar_once_at_end handle_mute_once_at_end + alias handle_hide_toot_once_at_end handle_mute_once_at_end + alias handle_hide_parent_once_at_end handle_mute_once_at_end def handle_unmute_once_at_end return if author_of_parent? @@ -48,6 +53,11 @@ module CommandTag::Commands::StatusTools alias handle_unmute_roar_once_at_end handle_unmute_once_at_end alias handle_unmute_toot_once_at_end handle_unmute_once_at_end alias handle_unmute_parent_once_at_end handle_unmute_once_at_end + alias handle_unhide_once_at_end handle_unmute_once_at_end + alias handle_unhide_post_once_at_end handle_unmute_once_at_end + alias handle_unhide_roar_once_at_end handle_unmute_once_at_end + alias handle_unhide_toot_once_at_end handle_unmute_once_at_end + alias handle_unhide_parent_once_at_end handle_unmute_once_at_end def handle_mute_thread_once_at_end return if author_of_parent? @@ -56,6 +66,8 @@ module CommandTag::Commands::StatusTools end alias handle_mute_conversation_once_at_end handle_mute_thread_once_at_end + alias handle_hide_thread_once_at_end handle_mute_thread_once_at_end + alias handle_hide_conversation_once_at_end handle_mute_thread_once_at_end def handle_unmute_thread_once_at_end return if author_of_parent? || @conversation.blank? @@ -64,5 +76,7 @@ module CommandTag::Commands::StatusTools end alias handle_unmute_conversation_once_at_end handle_unmute_thread_once_at_end + alias handle_unhide_thread_once_at_end handle_unmute_thread_once_at_end + alias handle_unhide_conversation_once_at_end handle_unmute_thread_once_at_end end # rubocop:enable Layout/ExtraSpacing |