Don't always enable screencast logs.

This commit is contained in:
John Preston 2022-01-20 17:16:29 +03:00
parent dc89262461
commit 9877845b9c

View file

@ -2396,6 +2396,7 @@ bool GroupCall::tryCreateScreencast() {
tgcalls::GroupInstanceDescriptor descriptor = {
.threads = tgcalls::StaticThreads::getThreads(),
.config = tgcalls::GroupConfig{
.need_log = Logs::DebugEnabled(),
},
.networkStateUpdated = [=](tgcalls::GroupNetworkState networkState) {
crl::on_main(weak, [=] {