From 0dc67e07f1c53d5feae19417743fb225dfa64178 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 31 Aug 2020 23:18:17 -0500 Subject: [Command Tags] Add privacy alias for community visibility --- app/lib/command_tag/processor.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/lib/command_tag/processor.rb') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index f758994a0..8461e902f 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -300,11 +300,13 @@ class CommandTag::Processor @account.user.setting_default_privacy when 'to', 'allow', 'allow-from', 'from' 'cc' + when 'm', 'l', 'mp', 'monsterpit', 'local' + 'community' else arg.strip end - %w(public unlisted private limited direct cc).include?(arg) ? arg : nil + %w(public unlisted private limited direct cc community).include?(arg) ? arg : nil end def read_falsy_from(arg) -- cgit