add missing captions on photo uploads
This commit is contained in:
parent
47d740c98a
commit
43a9b41dc3
@ -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)
|
||||
}()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user