Skip to content

Commit 999e0c7

Browse files
committed
Fix ghost user in feeds when pushing in an actions, it should be gitea-actions
1 parent 18bafcc commit 999e0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/activities/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (a *Action) LoadActUser(ctx context.Context) {
191191
return
192192
}
193193
var err error
194-
a.ActUser, err = user_model.GetUserByID(ctx, a.ActUserID)
194+
a.ActUser, err = user_model.GetPossibleUserByID(ctx, a.ActUserID)
195195
if err == nil {
196196
return
197197
} else if user_model.IsErrUserNotExist(err) {

0 commit comments

Comments
 (0)