From 17fed28dd9bc11086811f4d051aebe58cb378189 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Mon, 29 May 2023 02:40:46 +0300 Subject: Telegram: rename attachment type according to official naming --- protocols/Telegram/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp index 1ddd2a4440..5fabcb2c61 100644 --- a/protocols/Telegram/src/utils.cpp +++ b/protocols/Telegram/src/utils.cpp @@ -363,7 +363,7 @@ CMStringA CTelegramProto::GetMessageText(TG_USER *pUser, const TD::message *pMsg case TD::messageVoiceNote::ID: { auto *pDoc = (TD::messageVoiceNote *)pBody; - CMStringA fileName(FORMAT, "%s (%d %s)", TranslateU("Voice note"), pDoc->voice_note_->duration_, TranslateU("seconds")); + CMStringA fileName(FORMAT, "%s (%d %s)", TranslateU("Voice message"), pDoc->voice_note_->duration_, TranslateU("seconds")); GetMessageFile(TG_FILE_REQUEST::VOICE, pUser, pDoc->voice_note_->voice_.get(), fileName, pDoc->caption_->text_, szId, pszUserId, pMsg->date_); } break; -- cgit v1.2.3