Don't tag people in questions with twitter

This commit is contained in:
Yuki 2015-04-19 02:45:47 +05:30
parent c917f5f59d
commit 87a68768c3
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class Services::Twitter < Service
def prepare_tweet(answer)
# TODO: improve this.
question_content = twitter_markdown answer.question.content
question_content = twitter_markdown answer.question.content.gsub(/\@(\w+)/, '\1')
answer_content = twitter_markdown answer.content
answer_url = show_user_answer_url(
id: answer.id,