Fix build on Windows.

This commit is contained in:
John Preston 2024-05-24 09:55:48 +04:00
parent d13bf19b79
commit a3ef36f9f7

View file

@ -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<>>(