MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / useSubsectionTabs

Method useSubsectionTabs

Telegram/SourceFiles/data/data_peer.cpp:1753–1760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1751}
1752
1753bool PeerData::useSubsectionTabs() const {
1754 if (const auto bot = asBot()) {
1755 return bot->isForum();
1756 } else if (const auto channel = asChannel()) {
1757 return channel->useSubsectionTabs();
1758 }
1759 return false;
1760}
1761
1762bool PeerData::displayAsForum() const {
1763 if (!isForum()) {

Callers 15

showForumMethod · 0.45
setActiveChatEntryMethod · 0.45
addNewWindowMethod · 0.45
ShowForwardMessagesBoxFunction · 0.45
fillForumButtonMethod · 0.45
saveForumMethod · 0.45
windowForShowingForumMethod · 0.45
updateUnreadCountsMethod · 0.45

Calls 1

isForumMethod · 0.45

Tested by

no test coverage detected