From feca77b040ca785a9f02b39a2334bf6a83f69b72 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 12 Apr 2024 13:58:55 +0200 Subject: [PATCH] Rename for clearer semantics --- services/repository/star.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/repository/star.go b/services/repository/star.go index 2162544713..27aba77ac1 100644 --- a/services/repository/star.go +++ b/services/repository/star.go @@ -12,8 +12,7 @@ import ( "code.gitea.io/gitea/services/federation" ) -// ToDo: Consistent Naming, smth like StarLocalAndFollowingRepo -func StarRepoAndFederate(ctx context.Context, doer user.User, repoID int64, star bool) error { +func StarRepoAndSendLikeActivities(ctx context.Context, doer user.User, repoID int64, star bool) error { if err := repo.StarRepo(ctx, doer.ID, repoID, star); err != nil { return err }