mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Request, show and require accept for updated ToS.
This commit is contained in:
@@ -727,7 +727,10 @@ bool Notification::unlinkItem(HistoryItem *deleted) {
|
||||
}
|
||||
|
||||
bool Notification::canReply() const {
|
||||
return !_hideReplyButton && (_item != nullptr) && !App::passcoded() && (Global::NotifyView() <= dbinvShowPreview);
|
||||
return !_hideReplyButton
|
||||
&& (_item != nullptr)
|
||||
&& !Messenger::Instance().locked()
|
||||
&& (Global::NotifyView() <= dbinvShowPreview);
|
||||
}
|
||||
|
||||
void Notification::unlinkHistoryInManager() {
|
||||
|
||||
Reference in New Issue
Block a user