mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: local post onebox was always pointing to 1st post
This commit is contained in:
@@ -202,6 +202,7 @@ module Oneboxer
|
||||
else
|
||||
args = {
|
||||
topic_id: topic.id,
|
||||
post_number: post.post_number,
|
||||
avatar: PrettyText.avatar_img(post.user.avatar_template, "tiny"),
|
||||
original_url: url,
|
||||
title: PrettyText.unescape_emoji(CGI::escapeHTML(topic.title)),
|
||||
|
Reference in New Issue
Block a user