Fix group tags not propagating to replies.

This commit is contained in:
Azareal 2019-10-30 15:53:35 +10:00
parent a6bede5cbd
commit 40aa215331
1 changed files with 1 additions and 0 deletions

View File

@ -441,6 +441,7 @@ func (ru *ReplyUser) Init() error {
if postGroup.IsMod {
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?
ru.Avatar, ru.MicroAvatar = BuildAvatar(ru.CreatedBy, ru.Avatar)