mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
Merge fix
This commit is contained in:
parent
1811f7622a
commit
26eafbba3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1728,7 +1728,7 @@ func (c *Client) SendMessageToGateway(chatId int64, message *client.Message, id
|
||||||
var ignorePrefix bool
|
var ignorePrefix bool
|
||||||
if oobSwap {
|
if oobSwap {
|
||||||
if text == "" || message.Content.MessageContentType() == client.TypeMessageSticker {
|
if text == "" || message.Content.MessageContentType() == client.TypeMessageSticker {
|
||||||
chatType, err := c.GetChatType(chatId)
|
chatType, _, err := c.GetChatType(chatId)
|
||||||
ignorePrefix = err == nil && (chatType != ChatTypeBasicGroup && chatType != ChatTypeSupergroup) && c.isCarbonsEnabled()
|
ignorePrefix = err == nil && (chatType != ChatTypeBasicGroup && chatType != ChatTypeSupergroup) && c.isCarbonsEnabled()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue