We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18bafcc commit 999e0c7Copy full SHA for 999e0c7
models/activities/action.go
@@ -191,7 +191,7 @@ func (a *Action) LoadActUser(ctx context.Context) {
191
return
192
}
193
var err error
194
- a.ActUser, err = user_model.GetUserByID(ctx, a.ActUserID)
+ a.ActUser, err = user_model.GetPossibleUserByID(ctx, a.ActUserID)
195
if err == nil {
196
197
} else if user_model.IsErrUserNotExist(err) {
0 commit comments