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

Implement drag-n-drop to forum topics.

This commit is contained in:
John Preston
2022-11-01 11:18:56 +04:00
parent 6d215d3729
commit d5ea0149e8
23 changed files with 232 additions and 133 deletions

View File

@@ -179,9 +179,9 @@ public:
not_null<Data::Thread*> thread,
Data::ForwardDraft &&draft);
bool sendPaths(not_null<Data::Thread*> thread);
void onFilesOrForwardDrop(
bool onFilesOrForwardDrop(
not_null<Data::Thread*> thread,
const QMimeData *data);
not_null<const QMimeData*> data);
bool selectingPeer() const;
void clearSelectingPeer();
@@ -222,6 +222,9 @@ public:
PeerId peer,
const SectionShow &params,
MsgId msgId);
void showMessage(
not_null<const HistoryItem*> item,
const SectionShow &params);
bool notify_switchInlineBotButtonReceived(const QString &query, UserData *samePeerBot, MsgId samePeerReplyTo);