mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Save info members list state to memento.
This commit is contained in:
@@ -262,15 +262,15 @@ Cover *Cover::setOnlineCount(rpl::producer<int> &&count) {
|
||||
|
||||
void Cover::initViewers() {
|
||||
using Flag = Notify::PeerUpdate::Flag;
|
||||
PeerUpdateValue(_peer, Flag::PhotoChanged)
|
||||
Notify::PeerUpdateValue(_peer, Flag::PhotoChanged)
|
||||
| rpl::start_with_next(
|
||||
[this] { this->refreshUserpicLink(); },
|
||||
lifetime());
|
||||
PeerUpdateValue(_peer, Flag::NameChanged)
|
||||
Notify::PeerUpdateValue(_peer, Flag::NameChanged)
|
||||
| rpl::start_with_next(
|
||||
[this] { this->refreshNameText(); },
|
||||
lifetime());
|
||||
PeerUpdateValue(_peer,
|
||||
Notify::PeerUpdateValue(_peer,
|
||||
Flag::UserOnlineChanged | Flag::MembersChanged)
|
||||
| rpl::start_with_next(
|
||||
[this] { this->refreshStatusText(); },
|
||||
|
Reference in New Issue
Block a user