mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fix build on Windows.
This commit is contained in:
parent
d13bf19b79
commit
a3ef36f9f7
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ void Credits::setupHistory(not_null<Ui::VerticalLayout*> container) {
|
|||
|
||||
const auto &stUser = st::boostReplaceUserpic;
|
||||
const auto peer = e.bareId
|
||||
? _controller->session().data().peer(PeerId(e.bareId))
|
||||
? _controller->session().data().peer(PeerId(e.bareId)).get()
|
||||
: nullptr;
|
||||
if (peer) {
|
||||
content->add(object_ptr<Ui::CenterWrap<>>(
|
||||
|
|
Loading…
Add table
Reference in a new issue