mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Display check on the active account.
This commit is contained in:
@@ -92,6 +92,15 @@ Session::Session(
|
||||
|
||||
_api->instance().setUserPhone(_user->phone());
|
||||
|
||||
// Load current userpic and keep it loaded.
|
||||
changes().peerFlagsValue(
|
||||
_user,
|
||||
Data::PeerUpdate::Flag::Photo
|
||||
) | rpl::start_with_next([=] {
|
||||
[[maybe_unused]] const auto image = _user->currentUserpic(
|
||||
_selfUserpicView);
|
||||
}, lifetime());
|
||||
|
||||
crl::on_main(this, [=] {
|
||||
using Flag = Data::PeerUpdate::Flag;
|
||||
changes().peerUpdates(
|
||||
|
Reference in New Issue
Block a user