From 6c7727d6b55176fcc2b4173702b6db087948ee02 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 7 Jan 2025 22:56:32 -0700 Subject: [PATCH] connector/media: fix comment Signed-off-by: Sumner Evans --- pkg/connector/media/transfer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/connector/media/transfer.go b/pkg/connector/media/transfer.go index 335c90f2..549b771c 100644 --- a/pkg/connector/media/transfer.go +++ b/pkg/connector/media/transfer.go @@ -198,8 +198,8 @@ func (t *Transferer) WithPhoto(pc tg.PhotoClass) *ReadyTransferer { } } -// WithUser transforms a [Transferer] to a [ReadyTransferer] by setting the -// given user's photo as the location that will be downloaded by the +// WithUserPhoto transforms a [Transferer] to a [ReadyTransferer] by setting +// the given user's photo as the location that will be downloaded by the // [ReadyTransferer]. func (t *Transferer) WithUserPhoto(ctx context.Context, store *store.ScopedStore, user *tg.User, photoID int64) (*ReadyTransferer, error) { if accessHash, err := store.GetAccessHash(ctx, ids.PeerTypeUser, user.GetID()); err != nil {