mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Use getters in MTP classes.
This commit is contained in:
@@ -450,7 +450,7 @@ void ChatBackground::checkUploadWallPaper() {
|
||||
result.match([&](const MTPDwallPaper &data) {
|
||||
_session->data().documentConvert(
|
||||
_session->data().document(documentId),
|
||||
data.vdocument);
|
||||
data.vdocument());
|
||||
});
|
||||
if (const auto paper = Data::WallPaper::Create(result)) {
|
||||
setPaper(*paper);
|
||||
|
Reference in New Issue
Block a user