mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fix couple of possible crashes.
This commit is contained in:
@@ -3751,6 +3751,7 @@ void ApiWrap::uploadAlbumMedia(
|
||||
const auto item = App::histItemById(localId);
|
||||
if (!item) {
|
||||
failed();
|
||||
return;
|
||||
}
|
||||
if (const auto media = item->media()) {
|
||||
if (const auto photo = media->photo()) {
|
||||
|
Reference in New Issue
Block a user