diff options
Diffstat (limited to 'telegram/utils.go')
-rw-r--r-- | telegram/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram/utils.go b/telegram/utils.go index a708c28..b088069 100644 --- a/telegram/utils.go +++ b/telegram/utils.go @@ -413,7 +413,7 @@ func (c *Client) messageToPrefix(message *client.Message, fileString string) str func (c *Client) ProcessOutgoingMessage(chatID int64, text string, messageID int64, returnJid string) { if strings.HasPrefix(text, "/") { // try to execute a command - response, isCommand := c.ProcessChatCommand(text) + response, isCommand := c.ProcessChatCommand(chatID, text) if response != "" { gateway.SendMessage(returnJid, strconv.FormatInt(chatID, 10), response, c.xmpp) } |