mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Move tg:// handlers to a separate module.
Also move joinGroupByHash and stickerSetBox from MainWidget.
This commit is contained in:
@@ -106,8 +106,6 @@ public:
|
||||
MsgId msgId = ShowAtUnreadMsgId,
|
||||
const QString &startToken = QString(),
|
||||
FullMsgId clickFromMessageId = FullMsgId());
|
||||
void joinGroupByHash(const QString &hash);
|
||||
void stickersBox(const MTPInputStickerSet &set);
|
||||
|
||||
bool started();
|
||||
|
||||
@@ -333,8 +331,6 @@ public slots:
|
||||
|
||||
void onCacheBackground();
|
||||
|
||||
void onInviteImport();
|
||||
|
||||
void onViewsIncrement();
|
||||
|
||||
protected:
|
||||
@@ -440,11 +436,6 @@ private:
|
||||
void usernameResolveDone(QPair<MsgId, QString> msgIdAndStartToken, const MTPcontacts_ResolvedPeer &result);
|
||||
bool usernameResolveFail(QString name, const RPCError &error);
|
||||
|
||||
void inviteCheckDone(QString hash, const MTPChatInvite &invite);
|
||||
bool inviteCheckFail(const RPCError &error);
|
||||
void inviteImportDone(const MTPUpdates &result);
|
||||
bool inviteImportFail(const RPCError &error);
|
||||
|
||||
int getMainSectionTop() const;
|
||||
int getThirdSectionTop() const;
|
||||
|
||||
@@ -481,8 +472,6 @@ private:
|
||||
not_null<Window::Controller*> _controller;
|
||||
bool _started = false;
|
||||
|
||||
QString _inviteHash;
|
||||
|
||||
Animation _a_show;
|
||||
bool _showBack = false;
|
||||
QPixmap _cacheUnder, _cacheOver;
|
||||
|
Reference in New Issue
Block a user