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,
Notify::PeerUpdate::Flag::InviteLinkChanged
) | rpl::start_with_next([=] {
refreshCreateInviteLink();
refreshEditInviteLink();
}, _controls.editInviteLinkWrap->lifetime());
}