Skip to content

Commit

Permalink
remove unnecessary comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Jun 12, 2024
1 parent ca8758c commit 774ac92
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions internal/rpc/chat/password.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,5 @@ func (o *chatSvr) ChangePassword(ctx context.Context, req *chat.ChangePasswordRe
return nil, err
}

// !!!
// imToken, err := o.imApiCaller.UserToken(ctx, config.GetIMAdmin(mctx.GetOpUserID(ctx)), constant2.AdminPlatformID)
// if err != nil {
// return nil, err
// }

// err = o.imApiCaller.ForceOffLine(mctx.WithApiToken(ctx, imToken), req.UserID)
// if err != nil {
// return nil, err
// }

return &chat.ChangePasswordResp{}, nil
}

0 comments on commit 774ac92

Please sign in to comment.