From 21de9efc2d89ce8dbb9edb997f8a3b99f831d05a Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 21 Jul 2020 01:42:29 -0500 Subject: [Convenience] Add convenience variable for current conversation --- app/lib/command_tag/processor.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/lib') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index 1e177a015..4823c0af9 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -11,6 +11,7 @@ class CommandTag::Processor @account = account @status = status @parent = status.thread + @conversation = status.conversation @run_once = Set[] @vars = {} @text = status.text.gsub("\r\n", "\n").gsub("\n\r", "\n").gsub("\r", "\n") -- cgit