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

Method hasActiveVideoStream

Telegram/SourceFiles/data/data_peer.cpp:2079–2086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2077}
2078
2079bool PeerData::hasActiveVideoStream() const {
2080 if (const auto user = asUser()) {
2081 return user->hasActiveVideoStream();
2082 } else if (const auto channel = asChannel()) {
2083 return channel->hasActiveVideoStream();
2084 }
2085 return false;
2086}
2087
2088void PeerData::setStoriesState(StoriesState state) {
2089 if (const auto user = asUser()) {

Callers 4

processMethod · 0.45
paintUserpicMethod · 0.45
FillSourceMenuFunction · 0.45
updateStoryOutlineMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected