diff --git a/app/models/observer/ticket/article/communicate_twitter.rb b/app/models/observer/ticket/article/communicate_twitter.rb index 3ef62d485..ff00a5f8e 100644 --- a/app/models/observer/ticket/article/communicate_twitter.rb +++ b/app/models/observer/ticket/article/communicate_twitter.rb @@ -22,11 +22,11 @@ class Observer::Ticket::Article::CommunicateTwitter < ActiveRecord::Observer twitter = Channel::Twitter.new tweet = twitter.send({ - type: type['name'], + type: type['name'], to: record.to, body: record.body, in_reply_to: record.in_reply_to - }) + }) record.message_id = tweet.id record.save end