mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Rename some methods in DocumentData.
Also fix voice message mark as read when autoplaying after previous. Also show play icon and don't show playlist for audio files that do not have shared music files attributes but have audio file mime type.
This commit is contained in:
@@ -1615,7 +1615,7 @@ namespace {
|
||||
|
||||
MediaKey newKey = convert->mediaKey();
|
||||
if (idChanged) {
|
||||
if (convert->voice()) {
|
||||
if (convert->isVoiceMessage()) {
|
||||
Local::copyAudio(oldKey, newKey);
|
||||
} else if (convert->sticker() || convert->isAnimation()) {
|
||||
Local::copyStickerImage(oldKey, newKey);
|
||||
|
Reference in New Issue
Block a user