talk: Hack to remove minor annoyance

This commit is contained in:
Hamcha 2017-05-09 16:03:10 +02:00
parent 8d5c554d8d
commit f9f4b17d5c

View file

@ -116,7 +116,9 @@ func talk(broker *tg.Broker, update tg.APIMessage) {
return
}
broker.SendChatAction(update.Chat, tg.ActionTyping)
if !quoted {
broker.SendChatAction(update.Chat, tg.ActionTyping)
}
req.Header.Add("Authorization", "Bearer "+*talktoken)
req.Header.Set("Content-Type", "application/json; charset=utf-8")