aboutsummaryrefslogtreecommitdiff
path: root/telegram/commands.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2024-01-10 22:30:00 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2024-01-10 22:30:00 +0300
commit4532748c8458971151dfb6b535b11b2a3e17a372 (patch)
treed74a5aabce0a9c614a8fa7f8eb27dfdf6b9d95d6 /telegram/commands.go
parentf2807779aad0dd0d463d396d7ae7e2de48a83c3b (diff)
Support chosen quotes in replies and replies from other chats
Diffstat (limited to 'telegram/commands.go')
-rw-r--r--telegram/commands.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/commands.go b/telegram/commands.go
index 48c3615..c4b5988 100644
--- a/telegram/commands.go
+++ b/telegram/commands.go
@@ -196,7 +196,7 @@ func (c *Client) unsubscribe(chatID int64) error {
func (c *Client) sendMessagesReverse(chatID int64, messages []*client.Message) {
for i := len(messages) - 1; i >= 0; i-- {
message := messages[i]
- reply, _ := c.getMessageReply(message)
+ reply, _ := c.getMessageReply(message, false, true)
gateway.SendMessage(
c.jid,