Fix ghost user in feeds when pushing in an actions, it should be gitea-actions (#34703)

This commit is contained in:
Lunny Xiao authored and GitHub committed 2025-06-17 23:44:35 +00:00
1 parent ee334886f3
commit a14db5c5e3
4 files changed
+14 -28

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ func (a *Action) LoadActUser(ctx context.Context) {
return
}
var err error
a.ActUser, err = user_model.GetUserByID(ctx, a.ActUserID)
a.ActUser, err = user_model.GetPossibleUserByID(ctx, a.ActUserID)
if err == nil {
return
} else if user_model.IsErrUserNotExist(err) {