2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

saved gifs panel substituting @gif to the message field

This commit is contained in:
John Preston
2016-01-01 02:34:56 +08:00
parent 35d4754380
commit 82fb3f590f
12 changed files with 84 additions and 42 deletions

View File

@@ -1390,8 +1390,8 @@ void MainWidget::sendBotCommand(const QString &cmd, MsgId replyTo) {
history.sendBotCommand(cmd, replyTo);
}
void MainWidget::insertBotCommand(const QString &cmd) {
history.insertBotCommand(cmd);
bool MainWidget::insertBotCommand(const QString &cmd, bool specialGif) {
return history.insertBotCommand(cmd, specialGif);
}
void MainWidget::searchMessages(const QString &query, PeerData *inPeer) {