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