Enable MUC support for supergroups

This commit is contained in:
Bohdan Horbeshko 2025-07-22 13:51:55 -04:00
parent 2dd521c3ed
commit 10fc1d26ef

View file

@ -2413,7 +2413,7 @@ func (c *Client) IsGroup(chat *client.Chat) bool {
return false
}
typ := chat.Type.ChatTypeType()
return typ == client.TypeChatTypeBasicGroup
return typ == client.TypeChatTypeBasicGroup || typ == client.TypeChatTypeSupergroup
}
// subscribe to a Telegram ID