about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-21 01:42:29 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:44:01 -0500
commit21de9efc2d89ce8dbb9edb997f8a3b99f831d05a (patch)
tree804719b3fb67394aec55e9b5b0bf7658d0387349
parent62923dc93fb317eba2112a439e240c4b1d9205bb (diff)
[Convenience] Add convenience variable for current conversation
-rw-r--r--app/lib/command_tag/processor.rb1
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")