2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Always use crl::time for media durations.

This commit is contained in:
John Preston
2023-07-31 18:59:01 +02:00
parent 39e8ed22a9
commit bda3bae712
10 changed files with 23 additions and 17 deletions

View File

@@ -3417,7 +3417,7 @@ void ApiWrap::sendSharedContact(
void ApiWrap::sendVoiceMessage(
QByteArray result,
VoiceWaveform waveform,
int duration,
crl::time duration,
const SendAction &action) {
const auto caption = TextWithTags();
const auto to = fileLoadTaskOptions(action);