From 43a9b41dc3f3f3ac10a989b080b3c2f4fe6fab40 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 10 Jun 2018 11:13:19 +1200 Subject: [PATCH] add missing captions on photo uploads --- NTFServer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NTFServer.go b/NTFServer.go index 4132ebf..89a759a 100644 --- a/NTFServer.go +++ b/NTFServer.go @@ -467,7 +467,7 @@ func (this *NTFServer) HandleGroupMessage(update telegram.Update) error { if update.Message.Photo != nil { go func() { conUrl, err := this.ContentedUploadBestSync(*update.Message.Photo) - this.uploadAsyncComplete(userID, "photo", conUrl, err, "") + this.uploadAsyncComplete(userID, "photo", conUrl, err, update.Message.Caption) }() }