From 93e930ac4d4639b26940b80e41aa944aeadc9ff4 Mon Sep 17 00:00:00 2001 From: omochiumaiumai Date: Sat, 9 Mar 2024 09:22:51 +0900 Subject: [PATCH] =?UTF-8?q?login=5Fname=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/user.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 853b14fbcd2..1934362bf47 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -437,7 +437,7 @@ def mark_message_as_sent_for_hibernated_student end def create_followup_comment(student) - User.find_by(login_name: 'pjord-bot').comments.create( + User.find_by(login_name: 'pjord').comments.create( description: I18n.t('talk.followup'), commentable_id: Talk.find_by(user_id: student.id).id, commentable_type: 'Talk' @@ -756,7 +756,7 @@ def subdivision_name end def create_comebacked_comment - User.find_by(login_name: 'pjord-bot').comments.create( + User.find_by(login_name: 'pjord').comments.create( description: I18n.t('talk.comeback'), commentable_id: Talk.find_by(user_id: id).id, commentable_type: 'Talk'