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

Method applyColorId

Telegram/SourceFiles/data/data_forum_topic.cpp:833–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831}
832
833void ForumTopic::applyColorId(int32 colorId) {
834 if (_colorId != colorId) {
835 _colorId = colorId;
836 session().changes().topicUpdated(this, UpdateFlag::ColorId);
837 }
838}
839
840void ForumTopic::applyMaybeLast(not_null<HistoryItem*> item) {
841 if (!_lastServerMessage.value_or(nullptr)

Callers 2

EditForumTopicBoxFunction · 0.80
applyTopicAddedMethod · 0.80

Calls 2

topicUpdatedMethod · 0.80
changesMethod · 0.45

Tested by

no test coverage detected