summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2023-05-29 02:40:46 +0300
committerdartraiden <wowemuh@gmail.com>2023-05-29 02:40:46 +0300
commit17fed28dd9bc11086811f4d051aebe58cb378189 (patch)
tree1fb6baea59c28ddfff3711f910371ae8c5aa873e /protocols
parentd806a42533a946c682bb58d5fd565f06889257aa (diff)
Telegram: rename attachment type according to official naming
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
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;