mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
fixed crash in photo update from
This commit is contained in:
parent
cc9ae13297
commit
ac74a08d53
1 changed files with 1 additions and 1 deletions
|
@ -1783,7 +1783,7 @@ void HistoryPhoto::updateFrom(const MTPMessageMedia &media) {
|
|||
|
||||
case mtpc_photoCachedSize: {
|
||||
const string &s(i->c_photoCachedSize().vtype.c_string().v);
|
||||
loc = &i->c_photoSize().vlocation;
|
||||
loc = &i->c_photoCachedSize().vlocation;
|
||||
if (s.size()) size = s[0];
|
||||
} break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue