mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add a confirmation when blocking a user.
This commit is contained in:
@@ -154,7 +154,6 @@ void PhoneWidget::phoneSubmitDone(const MTPauth_SentCode &result) {
|
||||
fillSentCodeData(d);
|
||||
getData()->phone = _sentPhone;
|
||||
getData()->phoneHash = qba(d.vphone_code_hash());
|
||||
getData()->phoneIsRegistered = d.is_phone_registered();
|
||||
const auto next = d.vnext_type();
|
||||
if (next && next->type() == mtpc_auth_codeTypeCall) {
|
||||
getData()->callStatus = Widget::Data::CallStatus::Waiting;
|
||||
|
@@ -59,7 +59,6 @@ public:
|
||||
QString country;
|
||||
QString phone;
|
||||
QByteArray phoneHash;
|
||||
bool phoneIsRegistered = false;
|
||||
|
||||
enum class CallStatus {
|
||||
Waiting,
|
||||
|
Reference in New Issue
Block a user