Fix "Nobody Viewed / Watched / Listened" seen state.
This commit is contained in:
parent
37d940eca6
commit
a228c62286
|
@ -355,6 +355,8 @@ rpl::producer<Ui::WhoReadContent> WhoRead(
|
|||
} else if (UpdateUserpics(state, item, peers)) {
|
||||
RegenerateParticipants(state, small, large);
|
||||
pushNext();
|
||||
} else if (peers.empty()) {
|
||||
pushNext();
|
||||
}
|
||||
}, lifetime);
|
||||
|
||||
|
|
|
@ -214,7 +214,8 @@ Action::Action(
|
|||
content
|
||||
) | rpl::start_with_next([=](WhoReadContent &&content) {
|
||||
checkAppeared();
|
||||
const auto changed = (_content.participants != content.participants);
|
||||
const auto changed = (_content.participants != content.participants)
|
||||
|| (_content.unknown != content.unknown);
|
||||
_content = content;
|
||||
if (changed) {
|
||||
PostponeCall(this, [=] { populateSubmenu(); });
|
||||
|
|
Loading…
Reference in New Issue