Browse Source

Fix document filenames.

Regression was introduced in 2b11e45692.
pull/17122/head
John Preston 2 months ago
parent
commit
adb0a9b6f0
  1. 2
      Telegram/SourceFiles/data/data_document.cpp

2
Telegram/SourceFiles/data/data_document.cpp

@ -373,7 +373,7 @@ void DocumentData::setattributes(
}
}
}, [&](const MTPDdocumentAttributeFilename &data) {
setFileName(_filename);
setFileName(qs(data.vfile_name()));
}, [&](const MTPDdocumentAttributeHasStickers &data) {
_flags |= Flag::HasAttachedStickers;
});

Loading…
Cancel
Save