mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fixes in floating dates with migrated histories.
All service messages are now not multiline (including pinned). Confirmation for profile photo deleting will be added (not enabled). Copy-by-selection should be supported in Linux version now. Drafts that contain only reply-to-id (without text) support added.
This commit is contained in:
@@ -263,6 +263,8 @@ public:
|
||||
void offerPeer(PeerId peer);
|
||||
void dialogsActivate();
|
||||
|
||||
void deletePhotoLayer(PhotoData *photo);
|
||||
|
||||
DragState getDragState(const QMimeData *mime);
|
||||
|
||||
bool leaveChatFailed(PeerData *peer, const RPCError &e);
|
||||
@@ -490,6 +492,10 @@ public slots:
|
||||
void ui_showPeerHistoryAsync(quint64 peerId, qint32 showAtMsgId);
|
||||
void ui_autoplayMediaInlineAsync(qint32 channelId, qint32 msgId);
|
||||
|
||||
private slots:
|
||||
|
||||
void onDeletePhotoSure();
|
||||
|
||||
private:
|
||||
void sendReadRequest(PeerData *peer, MsgId upTo);
|
||||
void channelReadDone(PeerData *peer, const MTPBool &result);
|
||||
@@ -657,6 +663,8 @@ private:
|
||||
typedef QMap<ChannelData*, bool> UpdatedChannels;
|
||||
UpdatedChannels _updatedChannels;
|
||||
|
||||
PhotoData *_deletingPhoto = nullptr;
|
||||
|
||||
typedef QMap<MsgId, bool> ViewsIncrementMap;
|
||||
typedef QMap<PeerData*, ViewsIncrementMap> ViewsIncrement;
|
||||
ViewsIncrement _viewsIncremented, _viewsToIncrement;
|
||||
|
Reference in New Issue
Block a user