refactor: rename to actions

This commit is contained in:
Jason Song
2022-12-06 15:16:25 +08:00
parent 56368f3963
commit 223782ca4c
50 changed files with 247 additions and 247 deletions

View File

@ -35,8 +35,8 @@ func (comments CommentList) LoadPosters(ctx context.Context) error {
}
for _, comment := range comments {
if comment.PosterID == user_model.BotUserID {
comment.Poster = user_model.NewBotUser()
if comment.PosterID == user_model.ActionsUserID {
comment.Poster = user_model.NewActionsUser()
} else if comment.PosterID <= 0 {
continue
} else {