mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Remove some more Auth() calls.
This commit is contained in:
@@ -598,7 +598,7 @@ void ChatBackground::checkUploadWallPaper() {
|
||||
LOG(("API Error: "
|
||||
"Got wallPaperNoFile after account.UploadWallPaper."));
|
||||
});
|
||||
if (const auto paper = Data::WallPaper::Create(result)) {
|
||||
if (const auto paper = Data::WallPaper::Create(_session, result)) {
|
||||
setPaper(*paper);
|
||||
writeNewBackgroundSettings();
|
||||
notify(BackgroundUpdate(BackgroundUpdate::Type::New, tile()));
|
||||
|
Reference in New Issue
Block a user