2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

version 0.6.12 - local image cache, drafts, shared contact fix, some network fixes

This commit is contained in:
John Preston
2014-11-22 12:45:04 +03:00
parent 5d649f750b
commit f370e2b85d
51 changed files with 1760 additions and 375 deletions

View File

@@ -396,6 +396,9 @@ public slots:
void onAnimActiveStep();
void onDraftSaveDelayed();
void onDraftSave(bool delayed = false);
private:
bool messagesFailed(const RPCError &error, mtpRequestId requestId);
@@ -404,6 +407,7 @@ private:
void addMessagesToBack(const QVector<MTPMessage> &messages);
void chatLoaded(const MTPmessages_ChatFull &res);
void writeDraft(const QString *text = 0, const MessageCursor *cursor = 0);
void setFieldText(const QString &text);
QStringList getMediasFromMime(const QMimeData *d);
@@ -440,7 +444,7 @@ private:
int32 _selCount; // < 0 - text selected, focus list, not _field
LocalImageLoader imageLoader;
bool noTypingUpdate;
bool _synthedTextUpdate;
PeerId loadingChatId;
mtpRequestId loadingRequestId;
@@ -470,5 +474,9 @@ private:
mtpRequestId _typingRequest;
QTimer _typingStopTimer;
uint64 _saveDraftStart;
bool _saveDraftText;
QTimer _saveDraftTimer;
};