diff --git a/NTFServer.go b/NTFServer.go index 89a759a..853e86a 100644 --- a/NTFServer.go +++ b/NTFServer.go @@ -499,7 +499,7 @@ func (this *NTFServer) HandleGroupMessage(update telegram.Update) error { if update.Message.Voice != nil { go func() { conUrl, err := this.ContentedUploadSync(update.Message.Voice.FileID, int64(update.Message.Voice.FileSize)) // no thumbnail fallback available - this.uploadAsyncComplete(userID, "voiceclip", conUrl, err, fmt.Sprintf("Voice clip (duration %ds): ", update.Message.Voice.Duration)) + this.uploadAsyncComplete(userID, "voiceclip", conUrl, err, fmt.Sprintf("Voice clip (duration %ds): %s", update.Message.Voice.Duration, update.Message.Caption)) }() }