2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Added handler for MESSAGE_NOT_MODIFIED error when edit media.

This commit is contained in:
23rd
2019-03-29 17:50:49 +03:00
committed by John Preston
parent 653fd1bb63
commit 0e4d85a5e5
4 changed files with 26 additions and 5 deletions

View File

@@ -742,7 +742,6 @@ QString FormatViewsCount(int views) {
void HistoryMessage::refreshMedia(const MTPMessageMedia *media) {
_media = nullptr;
_savedMedia = nullptr;
if (media) {
setMedia(*media);
}