mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Fix NotificationMailer failing when receiving mention with media from remote instance (#11765)
This commit is contained in:
parent
7db2c2e2ba
commit
e265b8887d
@ -36,7 +36,10 @@
|
|||||||
- if status.media_attachments.size > 0
|
- if status.media_attachments.size > 0
|
||||||
%p
|
%p
|
||||||
- status.media_attachments.each do |a|
|
- 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
|
%p.status-footer
|
||||||
= link_to l(status.created_at), web_url("statuses/#{status.id}")
|
= link_to l(status.created_at), web_url("statuses/#{status.id}")
|
||||||
|
Loading…
Reference in New Issue
Block a user