Fix "Set as Main Tab" option showing for supergroups
dallo28 committed
- Author
- dallo28 · dallo28@users.noreply.github.comOct 12, 2026 at 09:39
- Committer
- dallo28 · dallo28@users.noreply.github.comOct 12, 2026 at 20:27
- Parents
- f2908b14133b
Fix "Set as Main Tab" option showing for supergroups Supergroups share TL_channelFull with broadcast channels, so the `info instanceof TL_channelFull` check let group admins set a main profile tab, which the server ignores for groups. Use ChatObject.isChannelAndNotMegaGroup via a single helper instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed+13−5