mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Add emoji-status disclaimer for unknown peers.
This commit is contained in:
@@ -460,13 +460,8 @@ void Widget::showTerms() {
|
||||
Ui::Text::WithEntities),
|
||||
st::introTermsLabel);
|
||||
_terms.create(this, std::move(entity));
|
||||
_terms->entity()->setClickHandlerFilter([=](
|
||||
const ClickHandlerPtr &handler,
|
||||
Qt::MouseButton button) {
|
||||
if (button == Qt::LeftButton) {
|
||||
showTerms(nullptr);
|
||||
}
|
||||
return false;
|
||||
_terms->entity()->overrideLinkClickHandler([=] {
|
||||
showTerms(nullptr);
|
||||
});
|
||||
updateControlsGeometry();
|
||||
_terms->hide(anim::type::instant);
|
||||
|
Reference in New Issue
Block a user