Skip to content
Snippets Groups Projects
Commit e265b888 authored by mayaeh's avatar mayaeh Committed by Eugen Rochko
Browse files

Fix NotificationMailer failing when receiving mention with media from remote instance (#11765)

parent 7db2c2e2
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,10 @@
- if status.media_attachments.size > 0
%p
- status.media_attachments.each do |a|
= link_to medium_url(a), medium_url(a)
- if status.local?
= link_to medium_url(a), medium_url(a)
- else
= link_to a.remote_url, a.remote_url
%p.status-footer
= link_to l(status.created_at), web_url("statuses/#{status.id}")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment