aboutsummaryrefslogtreecommitdiff
path: root/telegram/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-09-19 11:23:39 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-09-19 11:23:39 +0300
commite77caf2c42c079062ade31f928a40b7654ac9bfd (patch)
tree81893edc63a503e277778370f5aa5509ef86eed4 /telegram/handlers.go
parentc1887e5a1ed80fd06795a1017c821375562ff70b (diff)
Send recent history on MUC join
Diffstat (limited to 'telegram/handlers.go')
-rw-r--r--telegram/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/handlers.go b/telegram/handlers.go
index 71b55bc..b7277e8 100644
--- a/telegram/handlers.go
+++ b/telegram/handlers.go
@@ -265,7 +265,7 @@ func (c *Client) updateMessageContent(update *client.UpdateMessageContent) {
markupFunction,
))
for _, jid := range jids {
- gateway.SendMessage(jid, strconv.FormatInt(update.ChatId, 10), text, "e"+strconv.FormatInt(update.MessageId, 10), c.xmpp, nil, false)
+ gateway.SendMessage(jid, strconv.FormatInt(update.ChatId, 10), text, "e"+strconv.FormatInt(update.MessageId, 10), c.xmpp, nil, 0, false, false)
}
}
}