Fixed playback of recorded but not sent voice messages.

This commit is contained in:
23rd 2022-06-24 03:06:51 +03:00
parent 8f0ba749d1
commit 0fbd7d1a3b

View file

@ -408,6 +408,7 @@ void ListenWrap::initPlayButton() {
using State = TrackState;
_mediaView->setBytes(_data->bytes);
_document->size = _data->bytes.size();
_document->type = VoiceDocument;
const auto &play = _playPauseSt.playOuter;