2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

beautiful sticker blur and selection, document and sticker thumbs fixed, sticker emojis in dialog list display done, send image as doc for bad image size done

This commit is contained in:
John Preston
2015-01-05 23:17:33 +03:00
parent 5d54d48f70
commit 476ffca228
27 changed files with 442 additions and 146 deletions

View File

@@ -277,6 +277,8 @@ public:
void checkPeerHistory(PeerData *peer);
void checkedHistory(PeerData *peer, const MTPmessages_Messages &result);
bool sendPhotoFailed(uint64 randomId, const RPCError &e);
void forwardSelectedItems();
void deleteSelectedItems();
void clearSelectedItems();
@@ -359,6 +361,9 @@ public slots:
void onForwardCancel(QObject *obj = 0);
void onResendAsDocument();
void onCancelResend();
private:
void partWasRead(PeerData *peer, const MTPmessages_AffectedHistory &result);
@@ -370,6 +375,8 @@ private:
QString failedFileName;
void loadFailed(mtpFileLoader *loader, bool started, const char *retrySlot);
QList<uint64> _resendImgRandomIds;
void gotDifference(const MTPupdates_Difference &diff);
bool failDifference(const RPCError &e);
void feedDifference(const MTPVector<MTPUser> &users, const MTPVector<MTPChat> &chats, const MTPVector<MTPMessage> &msgs, const MTPVector<MTPUpdate> &other);