diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-21 01:42:29 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:44:01 -0500 |
commit | 21de9efc2d89ce8dbb9edb997f8a3b99f831d05a (patch) | |
tree | 804719b3fb67394aec55e9b5b0bf7658d0387349 /app | |
parent | 62923dc93fb317eba2112a439e240c4b1d9205bb (diff) |
[Convenience] Add convenience variable for current conversation
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/command_tag/processor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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") |