Fix GIF real parent refresh after sending.

Fixes #6943.
This commit is contained in:
John Preston 2020-01-18 14:45:16 +03:00
parent fc72fe3a78
commit 389fb0c4e9
1 changed files with 1 additions and 0 deletions

View File

@ -1229,6 +1229,7 @@ void Gif::parentTextUpdated() {
} }
void Gif::refreshParentId(not_null<HistoryItem*> realParent) { void Gif::refreshParentId(not_null<HistoryItem*> realParent) {
File::refreshParentId(realParent);
if (_parent->media() == this) { if (_parent->media() == this) {
refreshCaption(); refreshCaption();
} }