From 69b0434bb7b97bcd008d5e02bb4a806a572f7b10 Mon Sep 17 00:00:00 2001 From: Tejaswini Chile Date: Thu, 26 Aug 2021 15:16:47 +0530 Subject: [PATCH] chore: Display available name in email (#2888) --- app/drops/message_drop.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/drops/message_drop.rb b/app/drops/message_drop.rb index dac2eeff0..cbb3f1782 100644 --- a/app/drops/message_drop.rb +++ b/app/drops/message_drop.rb @@ -2,7 +2,7 @@ class MessageDrop < BaseDrop include MessageFormatHelper def sender_display_name - @obj.sender.try(:display_name) + @obj.sender.try(:available_name) end def text_content