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

Method applyIsMy

Telegram/SourceFiles/data/data_forum_topic.cpp:449–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void ForumTopic::applyIsMy(bool my) {
450 if (my != this->my()) {
451 if (my) {
452 _flags |= Flag::My;
453 } else {
454 _flags &= ~Flag::My;
455 }
456 }
457}
458
459bool ForumTopic::closed() const {
460 return _flags & Flag::Closed;

Callers 1

applyTopicAddedMethod · 0.80

Calls 1

myMethod · 0.95

Tested by

no test coverage detected