mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
Crash hotfix for the ANNOYING PALOCHKA fix
This commit is contained in:
parent
0d2b4972fa
commit
7c5584d839
1 changed files with 3 additions and 1 deletions
|
|
@ -1983,7 +1983,9 @@ func (c *Client) SendMessageToGateway(chatId int64, message *client.Message, id
|
|||
if prefix != "" {
|
||||
separator := c.getPrefixSeparator(chatId)
|
||||
newText.WriteString(separator)
|
||||
reply.End += uint64(len(separator))
|
||||
if reply != nil {
|
||||
reply.End += uint64(len(separator))
|
||||
}
|
||||
}
|
||||
newText.WriteString(text)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue