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

Method AllMessagesRow

Telegram/SourceFiles/boxes/peer_list_controllers.cpp:1106–1114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104}
1105
1106ChooseTopicBoxController::AllMessagesRow::AllMessagesRow(bool userCreatesTopics)
1107: PeerListRow(PeerListRowId(0))
1108, _userCreatesTopics(userCreatesTopics) {
1109 const auto words = TextUtilities::PrepareSearchWords(name());
1110 for (const auto &word : words) {
1111 _nameWords.emplace(word);
1112 _nameFirstLetters.emplace(word[0]);
1113 }
1114}
1115
1116QString ChooseTopicBoxController::AllMessagesRow::generateName() {
1117 return name();

Callers

nothing calls this directly

Calls 2

nameFunction · 0.85
emplaceMethod · 0.80

Tested by

no test coverage detected