fix: Update tweet character count logic (#2709)
This commit is contained in:
@@ -29,6 +29,8 @@ class Twitter::SendOnTwitterService < Base::SendOnChannelService
|
||||
end
|
||||
|
||||
def screen_name
|
||||
return "@#{reply_to_message.inbox.name}" if reply_to_message.outgoing?
|
||||
|
||||
"@#{reply_to_message.sender&.additional_attributes.try(:[], 'screen_name') || ''}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user