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

Fix t.me/share links.

Regression was introduced in ffc20e4492.

Fixes #4099.
This commit is contained in:
John Preston
2017-11-30 21:45:36 +04:00
parent 43570d1613
commit 2bbf17b672
4 changed files with 27 additions and 15 deletions

View File

@@ -190,7 +190,10 @@ public:
void noHider(HistoryHider *destroyed);
bool setForwardDraft(PeerId peer, ForwardWhatMessages what);
bool setForwardDraft(PeerId peer, const SelectedItemSet &items);
bool onShareUrl(const PeerId &peer, const QString &url, const QString &text);
bool shareUrl(
not_null<PeerData*> peer,
const QString &url,
const QString &text);
bool onInlineSwitchChosen(const PeerId &peer, const QString &botAndQuery);
void onShareContact(const PeerId &peer, UserData *contact);
bool onSendPaths(const PeerId &peer);