diff options
author | bodqhrohro <bodqhrohro@gmail.com> | 2019-12-06 02:21:39 +0300 |
---|---|---|
committer | bodqhrohro <bodqhrohro@gmail.com> | 2019-12-06 02:21:39 +0300 |
commit | 0013baa247b54286fb86119b91a5180f4334f463 (patch) | |
tree | ed29cd72dda89f71941294f8df7a4023a73876a1 /telegram/utils.go | |
parent | cb8e7f4fef060e0b8c942ca8a4dbe92ff61a0a02 (diff) |
Add delete command
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) } |