diff --git a/app/adapters/telegram_adapter/outbound/photo.rb b/app/adapters/telegram_adapter/outbound/photo.rb index 89c371c2a..70d2544aa 100644 --- a/app/adapters/telegram_adapter/outbound/photo.rb +++ b/app/adapters/telegram_adapter/outbound/photo.rb @@ -41,7 +41,7 @@ def perform(contributor_id:, media:, message:) def optional_caption(index) if message.text.length >= 1024 - TelegramAdapter::Outbound::Text.perform_later(text: message.text, telegram_id: telegram_id, message: message) + TelegramAdapter::Outbound::Text.perform_later(text: message.text, contributor_id: message.recipient.id, message: message) '' else index.zero? ? message.text : ''