From 227d8957f58307d667fe3a5a2e5330bce911babd Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 21 Jul 2020 01:56:39 -0500 Subject: [Feature] Add additional aliases for (un)hiding --- app/lib/command_tag/commands/status_tools.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'app') 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 -- cgit