Fix invite link block visibility.

This commit is contained in:
John Preston 2019-01-21 10:40:25 +04:00
parent b3f0a3c9f5
commit e209299af4

View file

@ -708,6 +708,7 @@ void Controller::observeInviteLink() {
_peer, _peer,
Notify::PeerUpdate::Flag::InviteLinkChanged Notify::PeerUpdate::Flag::InviteLinkChanged
) | rpl::start_with_next([=] { ) | rpl::start_with_next([=] {
refreshCreateInviteLink();
refreshEditInviteLink(); refreshEditInviteLink();
}, _controls.editInviteLinkWrap->lifetime()); }, _controls.editInviteLinkWrap->lifetime());
} }