diff --git a/Changelog.md b/Changelog.md index 3656e0583..70b0a9bea 100644 --- a/Changelog.md +++ b/Changelog.md @@ -7,6 +7,7 @@ Highlight down arrow at the user menu on hover [#4441](https://github.com/diaspo Make invite code input width consistent across borwsers [#4448](https://github.com/diaspora/diaspora/pull/4448) ## Features +Add oEmbed content to the mobile view [#4343](https://github.com/diaspora/diaspora/pull/4353) # 0.2.0.0 diff --git a/app/views/shared/_stream_element.mobile.haml b/app/views/shared/_stream_element.mobile.haml index 70658b926..ff833468d 100644 --- a/app/views/shared/_stream_element.mobile.haml +++ b/app/views/shared/_stream_element.mobile.haml @@ -10,7 +10,6 @@ | = link_to t('javascripts.stream.show_nsfw_post'), '#' - - if post.is_a?(Reshare) = render 'reshares/reshare', :reshare => post, :post => post.absolute_root diff --git a/app/views/status_messages/_status_message.mobile.haml b/app/views/status_messages/_status_message.mobile.haml index d9d6919b1..dbed137d2 100644 --- a/app/views/status_messages/_status_message.mobile.haml +++ b/app/views/status_messages/_status_message.mobile.haml @@ -16,7 +16,8 @@ %div{:class => direction_for(post.text)} != markdownify(post) + - if post.o_embed_cache + != o_embed_html post.o_embed_cache -if post.open_graph_cache .opengraph != og_html post.open_graph_cache -