mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:24:47 +08:00
FIX: Show auto-group flair according to user preferences (#21221)
This commit is contained in:
@ -116,6 +116,9 @@ RSpec.describe "posts" do
|
||||
flair_color: {
|
||||
type: %i[string null],
|
||||
},
|
||||
flair_group_id: {
|
||||
type: %i[string null],
|
||||
},
|
||||
version: {
|
||||
type: :integer,
|
||||
},
|
||||
|
@ -413,6 +413,9 @@
|
||||
"flair_color": {
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
"flair_group_id": {
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
"bio_raw": {
|
||||
"type": ["string", "null"]
|
||||
},
|
||||
|
@ -101,6 +101,12 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"flair_group_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -88,6 +88,12 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"flair_group_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -92,6 +92,12 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"flair_group_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -103,6 +103,12 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"flair_group_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -828,6 +828,12 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"flair_group_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"admin": {
|
||||
"type": "boolean"
|
||||
},
|
||||
|
@ -32,6 +32,7 @@ RSpec.describe WebHookPostSerializer do
|
||||
:display_username,
|
||||
:primary_group_name,
|
||||
:flair_name,
|
||||
:flair_group_id,
|
||||
:version,
|
||||
:user_title,
|
||||
:bookmarked,
|
||||
|
Reference in New Issue
Block a user