2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-27 15:25:58 +00:00

preparing new dev version, date tooltip on timestamp hover, year marks in old day labels, new auth code / sms algo

This commit is contained in:
John Preston
2015-08-31 17:27:20 +03:00
parent 84436a34b0
commit d840ec37db
12 changed files with 214 additions and 30 deletions

View File

@@ -64,9 +64,12 @@ public:
void codeSubmitDone(const MTPauth_Authorization &result);
bool codeSubmitFail(const RPCError &error);
void updateDescText();
public slots:
void onSubmitCode(bool force = false);
void onNoTelegramCode();
void onInputChange();
void onSendCall();
void onCheckRequest();
@@ -84,8 +87,14 @@ private:
FlatButton next;
Text _desc;
LinkButton _noTelegramCode;
mtpRequestId _noTelegramCodeRequestId;
QRect textRect;
void noTelegramCodeDone(const MTPBool &result);
bool noTelegramCodeFail(const RPCError &result);
CodeInput code;
QString sentCode;
mtpRequestId sentRequest;