Fix group tags not propagating to replies.
This commit is contained in:
parent
a6bede5cbd
commit
40aa215331
|
@ -441,6 +441,7 @@ func (ru *ReplyUser) Init() error {
|
||||||
if postGroup.IsMod {
|
if postGroup.IsMod {
|
||||||
ru.ClassName = Config.StaffCSS
|
ru.ClassName = Config.StaffCSS
|
||||||
}
|
}
|
||||||
|
ru.Tag = postGroup.Tag
|
||||||
|
|
||||||
// TODO: Make a function for this? Build a more sophisticated noavatar handling system? Do bulk user loads and let the c.UserStore initialise this?
|
// TODO: Make a function for this? Build a more sophisticated noavatar handling system? Do bulk user loads and let the c.UserStore initialise this?
|
||||||
ru.Avatar, ru.MicroAvatar = BuildAvatar(ru.CreatedBy, ru.Avatar)
|
ru.Avatar, ru.MicroAvatar = BuildAvatar(ru.CreatedBy, ru.Avatar)
|
||||||
|
|
Loading…
Reference in New Issue