add missing captions on photo uploads

This commit is contained in:
mappu 2018-06-10 11:13:19 +12:00
parent 47d740c98a
commit 43a9b41dc3
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}()
}