# Staff colored posts won't onebox internally

**URL:** https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922
**Category:** Bug
**Created:** [October 7, 2018, 12:09am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922 "2018-10-07T00:09:54Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![rizka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rizka/32/79717_2.png) [@rizka](https://meta.discourse.org/u/rizka)
#### Post date: [October 7, 2018, 12:09am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/1 "2018-10-07T00:09:54Z")

</div>

Just a small glitch: if a post has staff color, it won’t onebox if the link is internal. They will onebox if the link is external, though.

[https://meta.discourse.org/t/changing-the-color-of-staff-color-admin-customize-colors/27973/2](https://meta.discourse.org/t/changing-the-color-of-staff-color-admin-customize-colors/27973/2)

[https://meta.discourse.org/t/changing-the-color-of-staff-color-admin-customize-colors/27973/3](https://meta.discourse.org/t/changing-the-color-of-staff-color-admin-customize-colors/27973/3)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 7, 2018, 6:38am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/2 "2018-10-07T06:38:00Z")

</div>

Are you sure you’re not confusing external and internal links? Only external links will onebox.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [October 7, 2018, 11:51am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/3 "2018-10-07T11:51:49Z")

</div>

Both of his examples are internal links, just to different posts. One being staff highlighted, the other not.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 7, 2018, 11:53am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/4 "2018-10-07T11:53:19Z")

</div>

The other one is an invalid link, though.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [October 7, 2018, 11:54am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/5 "2018-10-07T11:54:03Z")

</div>

Weird, it wasn’t when I looked at it a couple days ago…

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [October 7, 2018, 11:55am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/6 "2018-10-07T11:55:21Z")

</div>

Here is a different one (no onebox)

> [@Staff color applies to quoted message](https://meta.discourse.org/t/staff-color-applies-to-quoted-message/55774/2):
>
> This might be fixed with @awesomerobot’s latest change?

Non-Staff Colored Message

> [@Staff color applies to quoted message](https://meta.discourse.org/t/staff-color-applies-to-quoted-message/55774/6):
>
> Wait this isn’t a proper test because you are staff. You need to reply as a regular user.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 7, 2018, 11:55am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/7 "2018-10-07T11:55:34Z")

</div>

Let’s try this post which I made a staff reply

[https://meta.discourse.org/t/basic-site-logos-should-hit-the-cdn/79306/5](https://meta.discourse.org/t/basic-site-logos-should-hit-the-cdn/79306/5)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 7, 2018, 11:56am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/8 "2018-10-07T11:56:02Z")

</div>

Ah I see this is valid, indeed.

---

<div class="post-metadata">

### Author: ![rizka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rizka/32/79717_2.png) [@rizka](https://meta.discourse.org/u/rizka)
#### Post date: [October 7, 2018, 12:01pm UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/9 "2018-10-07T12:01:45Z")

</div>

Yes, I linked to two consecutive posts in a topic which somebody seems to have deleted today. It existed 12 hours ago. If the topic didn’t, the first link i provided wouldn’t have oneboxed, either. 🙂

Nothing critical, but at least it’s a known issue now.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [October 8, 2018, 5:15pm UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/10 "2018-10-08T17:15:02Z")

</div>

@nbianca can you add this to your list? No rush, but staff colored posts should behave the same a any other public posts.

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [October 9, 2018, 11:55am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/11 "2018-10-09T11:55:47Z")

</div>

Fixed by

[https://github.com/discourse/discourse/pull/6466](https://github.com/discourse/discourse/pull/6466)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [October 10, 2018, 10:54am UTC](https://meta.discourse.org/t/staff-colored-posts-wont-onebox-internally/98922/12 "2018-10-10T10:54:16Z")

</div>


