Fixed processing of empty chart on message statistic.

This commit is contained in:
23rd 2023-10-21 11:05:26 +03:00
parent 2ca489b2fb
commit b7a9aa9a0e

View file

@ -105,7 +105,7 @@ struct SupergroupStatistics final {
struct MessageStatistics final {
explicit operator bool() const {
return !messageInteractionGraph.chart.empty();
return !messageInteractionGraph.chart.empty() || views;
}
Data::StatisticalGraph messageInteractionGraph;
int publicForwards = 0;