mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
Support adaptive forum userpic rounding radius.
This commit is contained in:
@@ -110,8 +110,9 @@ Session::Session(
|
||||
_user,
|
||||
Data::PeerUpdate::Flag::Photo
|
||||
) | rpl::start_with_next([=] {
|
||||
[[maybe_unused]] const auto image = _user->currentUserpic(
|
||||
_selfUserpicView);
|
||||
auto view = Ui::PeerUserpicView{ .cloud = _selfUserpicView };
|
||||
[[maybe_unused]] const auto image = _user->userpicCloudImage(view);
|
||||
_selfUserpicView = view.cloud;
|
||||
}, lifetime());
|
||||
|
||||
crl::on_main(this, [=] {
|
||||
|
Reference in New Issue
Block a user