mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 04:07:07 +00:00
Enable MUC support for supergroups
This commit is contained in:
parent
2dd521c3ed
commit
10fc1d26ef
1 changed files with 1 additions and 1 deletions
|
|
@ -2413,7 +2413,7 @@ func (c *Client) IsGroup(chat *client.Chat) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
typ := chat.Type.ChatTypeType()
|
typ := chat.Type.ChatTypeType()
|
||||||
return typ == client.TypeChatTypeBasicGroup
|
return typ == client.TypeChatTypeBasicGroup || typ == client.TypeChatTypeSupergroup
|
||||||
}
|
}
|
||||||
|
|
||||||
// subscribe to a Telegram ID
|
// subscribe to a Telegram ID
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue